Subject: [xsl] from random tags to an ordered tags From: yan bai <bytj@xxxxxxxxx> Date: Thu, 11 Oct 2001 11:44:59 -0700 (PDT) |
Hi, Gurus, I have a source file in .xml type. Except the root element <root_elem>......</root_elem>, all elements come in a time sequence from a server. For instance, <root_elem> <tag_0 id="b12313" seq="1" content="Here is the summary the the book"/> <tag_5 id="i234234" seq="2" information="here is some info"/> <tag_2 id="b12334" seq="3" name="The book title here: A"/> <tag_8 id="b12337" seq="4" name="Here is a publisher"/> <tag_4 id="b34533" seq="5" name="here is the date"/> . . . </root_elem> Please note <tag_0>, <tag_1>, ..., <tag_x> comes in a random sequence. Any tag may come before another in this source .xml file. the attribute "seq" indicates in the order of tags. I need to use xslt to transform these tags into a well-formed xml file according to the sequence attribute "seq". Whatever tag comes the first, it needs to be the first tag in the destination xml file. Anyone knows how? Thanks a ton in advance. __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] difference between nodete, Wendell Piez | Thread | Re: [xsl] from random tags to an or, Jörg Heinicke |
libxslt & apache modules - was - RE, Robert Koberg | Date | [xsl] Conditional counting, Hunsberger, Peter |
Month |