[xsl] Key containing more than one 'target'?

Subject: [xsl] Key containing more than one 'target'?
From: Sven Waibel <sven.waibel@xxxxxxxx>
Date: Tue, 22 Mar 2005 16:25:57 +0100

is it possible to generate a key that contains more "targets"?

in my xsl:

 <xsl:key name="ids" match="tc/pc/*[@id]" use="@id" />


<xsl:apply-templates select="*[@id and generate-id(.)= generate-id(key('ids', @id))]" />

my xml:

<tc id="123">
	<pc id="444">

I need a connection between tc-id and pc-id, so i thought i could be possible to make a key over pc and tc.

Has anybody a idea?



Current Thread