Hi:
I have an input file like this:
<prt1>
<note>this is a sample note</note>
<desc>sample desc</desc>
<note>note at the end of desc </note>
<prt2>
<text>sample text</text>
</prt2>
</prt1>
Now I want to transform this so that the <note> <note>note at the end
of desc </note> comes right under <prt2>.
So:
<prt1>
<note>this is a sample note</note>
<desc>sample desc</desc>
<prt2>
<note>note at the end of desc </note>
<text>sample text</text>
</prt2>
</prt1>
But when I use preceding-sibling, it pulls <note>this is a sample note</note>
into <prt2> as well.
Can anybody help me here?
Thanks in advance.
--~------------------------------------------------------------------
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>
--~--