[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Accessing specific repetitive node
Hi David, Thanks again. As with most of these problems they stem from complete stupidity on the part of the programmer. In my xml document (which is rather large), each set of repeating data was wrapped in <Data> tags so I needed to access them as follows: <xsl:value-of select="DATA/Table[@ID='2']Data[3]/Code" /> Apologies for wasting everyone's time. Regards, Mark ----- Original Message ----- From: "David Carlisle" <davidc@xxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, March 05, 2004 1:53 PM Subject: Re: Accessing specific repetitive node > > As always, it's best to post a complete (small) input doc and a > complete (small) stylesheet, in this case one that you think should be > selecting (say) the third Code. Then people can run it and see if they > get the result you expect, and if not, explain why not. > > It's hard to give any advice if you suspect the problem is in some code > that hasn't been shown. > > -- > http://www.dcarlisle.demon.co.uk/matthew > > ________________________________________________________________________ > This e-mail has been scanned for all viruses by Star Internet. 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 > ________________________________________________________________________ > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|