[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Key containing more than one 'target'?

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

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">
	...
	</pc>
</tc>




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?

Thanks

Sven

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.