Subject: Re: [xsl] Concatenating a nodeset (set of attributes) From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx> Date: Sun, 9 Oct 2005 14:01:11 +0200 |
Hi Dimitre, Well, below is a closer example to the real thing. Is this what you meant? I have looked at your solution in the link that you provided me with. Do you have any tests on the speed of this sorting? The reason I am doing this sorting in the first place is because I have a multiple transformation with all but the last step taking less than 3 seconds, but with the last taking more than 100 seconds (timing out the web service). I have a complicated shuffling and sorting in the last stylesheet with 7 keys to match different things. (I miss the speed of MSXSL 3.0/4.0 compared to .NET's XSL transform which I estimate is an order of magnitude slower on many operations). I am trying to do some of the sorting in previous transformations so that I will not need to sort so much in the last transformation. Regards, Ragulf Pickaxe :-) <?xml version="1.0"?> <ROOT> <TOC name="Somename"> <STRUC pos="3" title="sometitle"><STRUC pos="1" title="Another"></STRUC> </STRUC> <STRUC pos="3" title="sometitle"><STRUC pos="4" title="Another"></STRUC> </STRUC> <STRUC pos="2" title="sometitle"><STRUC pos="1" title="Another"></STRUC> </STRUC> <STRUC pos="3" title="sometitle"><STRUC pos="2" title="Another"></STRUC> </STRUC> <STRUC pos="2" title="sometitle"><STRUC pos="3" title="Another"></STRUC> </STRUC> <STRUC pos="3" title="sometitle"><STRUC pos="6" title="Another"></STRUC> </STRUC> </TOC> <TOC name="another name"> <STRUC pos="1" title="sometitle"><STRUC pos="1" title="Another"></STRUC> </STRUC> <STRUC pos="1" title="sometitle"></STRUC> <STRUC pos="2" title="sometitle"><STRUC pos="1" title="Another"></STRUC> </STRUC> <STRUC pos="3" title="sometitle"><STRUC pos="2" title="Another"></STRUC> </STRUC> <STRUC pos="2" title="sometitle"><STRUC pos="3" title="Another"></STRUC> </STRUC> <STRUC pos="3" title="sometitle"><STRUC pos="6" title="Another"></STRUC> </STRUC> <STRUC pos="3" title="sometitle"><STRUC pos="6" title="Another"></STRUC><STRUC pos="1" title="Yet another"></STRUC> </STRUC> <STRUC pos="3" title="sometitle"><STRUC pos="6" title="Another"></STRUC><STRUC pos="1" title="Yet another"></STRUC> </STRUC> </TOC> </ROOT>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Concatenating a nodeset (, Dimitre Novatchev | Thread | Re: [xsl] Concatenating a nodeset (, Dimitre Novatchev |
Re: [xsl] Concatenating a nodeset (, Ragulf Pickaxe | Date | Re: [xsl] Concatenating a nodeset (, Dimitre Novatchev |
Month |