xsl-list
[Top] [All Lists]

Re: [xsl] rearranging nodes using XSLT

2010-02-17 11:00:23
a kusa wrote:

How can I rearrange nodes in xslt?

My source XML looks something like this: I am trying to rearrance
tbd1, tbd2, tbd3 in that order

<root>
<list1>
<item1>
<para>sample</para>
</item1>
<tbd2><para>test1</tbd2>

That is not even well-formed so it is hard to understand what you want to achieve.
<tbd1><para>test1</tbd1>

Not well-formed either.
<list2>
<item1>
<para>sample</para>
</item1>
<tbd3><para>test1</tbd3>
<tbd1><para>test1</tbd1>
<item1>
<para>sample</para>
</item1>
</list2>
</list1>
</root>

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>