[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Doublet


Subject: [xsl] Doublet
From: Sven Waibel <sven.waibel@xxxxxxxx>
Date: Tue, 15 Mar 2005 14:00:37 +0100

Hi everybody,

i got following result:

10000
10001
1
10000

I want to have:

10000
10001
1

I don't want to get doublets.

Does anybody know something about it?

Thanks in advance and best regards
Sven


my xsl:
----------------------------------
<xsl:template match="pc">
		<xsl:for-each select="error-id">
			<fo:block>
				<xsl:value-of select="@name"/>
			</fo:block>
		</xsl:for-each>
	</xsl:template>

---------------------------------
my xml:
---------------------------------
<tc>
	<pc>
		<error-id id="1" name="10000" />
		<error-id id="2" name="10001"/>
	</pc>
	<pc>
		<error-id id="3" name="1" />
		<error-id id="1" name="10000"/>
	</pc>
</tc>


Current Thread