[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

axis specifier issue

Subject: axis specifier issue
From: a kusa <akusa8@xxxxxxxxx>
Date: Thu, 29 Oct 2009 17:31:01 -0500
 axis specifier issue
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.