xsl-list
[Top] [All Lists]

Re: Accessing specific repetitive node

2004-03-05 07:44:21
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[(_at_)ID='2']Data[3]/Code" />

Apologies for wasting everyone's time.

Regards,

Mark

----- Original Message -----
From: "David Carlisle" <davidc(_at_)nag(_dot_)co(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Friday, March 05, 2004 1:53 PM
Subject: Re: [xsl] 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