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

How to tranform the xml

Subject: How to tranform the xml
From: "Sarboday Misra" <smisra@xxxxxxxxx>
Date: Wed, 08 Nov 2000 14:46:44 -0800
xml tranform
Hi all,

I am following this mail list and have gained a lot.  I am able to parse and get
the queries done by xslt and  java using clark-xt.  But have no idea how to wrap
a node by another.

I have a xml file  as :

<?xml version="1.0" encoding="utf-8"?>
<node1 role="MAIN">
    <node2  mediatype="text" >
        <text>
            <p> xyz</p>
            <p> ab</p>
        </text>
    </node2>
</node1>


I want it to be transformed to :

<?xml version="1.0" encoding="utf-8"?>
<node1 role="MAIN">
    <node2  mediatype="text" >
        <text><![CDATA[ <p> xyz</p>
            <p> ab.</p>]]>
        </text>
    </node2>
</node1>


what will be the rule ??

Thanks in advance,
Sarboday


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.