Subject: Re: [xsl] Sorting and grouping unknown elements From: "Claus Jessing" <claus@xxxxxxxxxx> Date: Tue, 25 Sep 2007 12:22:41 +0200 |
Thanks for all the help guys. But since I'm writing this I'm faced with a small follow-up problem: If my xml looks like this: <rowset> <cvr> <name>Tesco</name> <model>Supermarket</model> <color>White</color> </cvr> <row> <make>Toyota</make> <model>Yaris</model> <color>Red</color> </row> <row> <make>Toyota</make> <model>Corolla</model> <color>Blue</color> </row> </rowset> Then I would only get the <make> elements from my <row> elements using the xslt 1.0 suggested solution. Model and color is not processed (at least not the way I expect it). Any quick solution around this? Thanks in advance :-) Claus Jessing On 9/24/07, Claus Jessing <claus@xxxxxxxxxx> wrote: > On 9/24/07, David Carlisle <davidc@xxxxxxxxx> wrote: > > > > > . I'm using javax.xml.transform > > That is you are using xalan which is an XSLt 1 processor so the XSLt2 > > solution won't work. > > Kind of figured that out. But as long as the 1.0 solution works I'm happy :-) > > > > -- > Claus Jessing, jessing.dk > --------------------------------------------- > M: +45 6061 0101, P: +45 4461 0101 > E: claus@xxxxxxxxxx, IM: claus@xxxxxxxxxx > -- Claus Jessing, jessing.dk --------------------------------------------- M: +45 6061 0101, P: +45 4461 0101 E: claus@xxxxxxxxxx, IM: claus@xxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Sorting and grouping unkn, Claus Jessing | Thread | Re: [xsl] Sorting and grouping unkn, David Carlisle |
[xsl] Built in templates and issues, Dunk, Michael (Mike) | Date | RE: [xsl] Built in templates and is, Michael Kay |
Month |