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

Converting Child to Sibling

Subject: Converting Child to Sibling
From: Arulxml@xxxxxxxxxxxx
Date: Sat, 25 Jun 2005 02:46:18 -0400
xml child sibling
Dear All,

I am converting one XML to another form of XML by using XSLT, in my source XML, I have bennb element, which is the child of bparab element. I require in my resulting XML bennb element should be sibling of bparab then how the XSLT should look.

Source XML

<root>
<para>Normal <i>italic</i> text, normal <b>bold</b> text, normal <s>sarif</s> text</para>
<para>Normal <i>italic</i> text, <enn>normal <b>bold</b> text</enn>, normal <s>sarif</s> text</para>
<para>Normal <i>italic</i> text, normal <b>bold</b> text, normal <s>sarif</s> text</para>
</root>

Resulting XML
<root>
<para>Normal <i>italic</i> text, normal <b>bold</b> text, normal <s>sarif</s> text</para>
<para>Normal <i>italic</i> text, </para><enn>normal <b>bold</b> text</enn><para>, normal <s>sarif</s> text</para>
<para>Normal <i>italic</i> text, normal <b>bold</b> text, normal <s>sarif</s> text</para>
</root>

Please advice

Many thanks in advance
Arul Kumar

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

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.