Re: [xsl] Accessing specific repetitive node

Subject: Re: [xsl] Accessing specific repetitive node
From: "Mark Williams" <mark@xxxxxxxxxxx>
Date: Fri, 5 Mar 2004 14:44:21 -0000
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: [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


Current Thread