Ik heb een pagina waarin ik dmv XSL een lijstje met titels weergeef. Als ik hier speciale tekens in gebruik zie ik het volgende:

Die "Â" wordt dus voor elk speciaal teken toegevoegd. Dat is niet de bedoeling, maar ik krijg het met geen mogelijkheid weg. Ben al uren aan het zoeken geweest hier op GoT en op Google, maar ik kan niets vinden!
De XSL die ik gebruik:

Die "Â" wordt dus voor elk speciaal teken toegevoegd. Dat is niet de bedoeling, maar ik krijg het met geen mogelijkheid weg. Ben al uren aan het zoeken geweest hier op GoT en op Google, maar ik kan niets vinden!
De XSL die ik gebruik:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
| <?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" />
<xsl:param name="imgurl" />
<xsl:param name="lesid" select="//@id" />
<xsl:template match="/">
<table border="0" cellpadding="2" cellspacing="0" width="100%" summary="Hoofdstukken">
<tr><td colspan="5" class="td_head">Hoofdstukken</td></tr>
<xsl:choose>
<xsl:when test="count(//stap) > 0">
<xsl:apply-templates />
</xsl:when>
<xsl:otherwise>
<tr><td colspan="5" class="oneven" style="padding: 4px 8px;">Geen hoofdstukken gevonden!</td></tr>
</xsl:otherwise>
</xsl:choose>
</table>
</xsl:template>
<xsl:template match="stap">
<tr class="oneven">
<td style="padding: 4px 8px; border-bottom: 1px solid #FFFFFF;"><xsl:value-of select="@naam" /></td>
<td width="11" style="border-bottom: 1px solid #FFFFFF;">
<xsl:if test="count(preceding-sibling::stap)">
<a href="?action=moveup&chapter_id={@id}&les_id={$lesid}">
<img src="{$imgurl}up.gif" border="0" alt="^"/>
</a>
</xsl:if>
</td>
<td width="11" style="border-bottom: 1px solid #FFFFFF;">
<xsl:if test="count(following-sibling::stap)">
<a href="?action=movedown&chapter_id={@id}&les_id={$lesid}">
<img src="{$imgurl}down.gif" border="0" alt="#" />
</a>
</xsl:if>
</td>
<td width="20" align="center" style="padding: 4px 4px; border-bottom: 1px solid #FFFFFF;">
<a href="?action=editchapter&chapter_id={@id}&les_id={$lesid}">
<img src="{$imgurl}edit.gif" border="0" alt="[]" />
</a>
</td>
<td width="15" align="center" style="padding: 4px 4px; border-bottom: 1px solid #FFFFFF;">
<a href="?action=deletechapter&chapter_id={@id}&les_id={$lesid}">
<img src="{$imgurl}tresj.gif" border="0" alt="[]" />
</a>
</td>
</tr>
</xsl:template>
</xsl:stylesheet> |