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

Re: Processing IDREFS attributes

Subject: Re: Processing IDREFS attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 1 Nov 2005 22:19:27 GMT
idrefs .net
   <xsl:for-each select="id(@references)">
   	<xsl:value-of select="."/>
   </xsl:for-each>

   But it doesn't work. What I get is the content of @references with the above.

Are you sure that your output is generated by this part of your code?
I don't see how you can possibly get the content of references.
Eiether id() succeeds in finding the referenced elements, in which case
you for-each over them, or it doesn't in which case it returns the empty
node set so you for-each over nothing and never evaluate the value-of
at all.

You know the score by now, complete runnable small example required:-)


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.