[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Help on node selection
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 27 Aug 2010 12:45:08 +0100
> My question is pretty basic, so far.
>
> Suppose I get an XML document
>
> <data>
>      <row>
>                      <N1>1</N1>
>      <N2>120</N2>
>      </row>
>      <row>
>                      <N1>1</N1>
>      <N2>120</N2>
>      </row>
>      <row>
>                      <N1>2</N1>
>      <N2>120</N2>
>      </row>
>      <row>
>                      <N1>2</N1>
>      <N2>120</N2>
>      </row>
>      <row>
>                      <N1>1</N1>
>      <N2>110</N2>
>      </row>
> </data>
...
> Is called on each matching node...(thus 3 times here), rather than once, and
then gets some loop to individually treat each node from the list.
> How can I proceed ?

You need to provide the expected output for that input...


--
Andrew Welch
http://andrewjwelch.com

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member