|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Help on node selection
Hi Andrew. Don't know yet :) It is just the principle on calling a template with a node set that currently escapes me.... But globally, I would have something like <N1>120,120,110</N1> <N2>120,120</N2> -----Message d'origine----- De : Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] Envoyi : vendredi 27 ao{t 2010 13:45 @ : xsl-list@xxxxxxxxxxxxxxxxxxxxxx Objet : Re: Help on node selection > 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
|
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
|

Cart








