xsl-list
[Top] [All Lists]

Embeding xml inside another xml using xslt

2005-02-28 08:04:53

Hi All,

Can any one help me to implement the below.

I want to form an XML which will have another XML embedded in it using
XSLT

For example I want the output to be as below

<!--- XML1 -->
<?xml version="1.0" encoding="UTF-8"?>
<note xmlns="http://www.w3schools.com"; >
        <to>Request</to>
        <from>String</from>
        <address>
<!---   Embeded XML2 -->
        <?xml version="1.0" encoding="UTF-8"?>
        <Address xmlns="http://www.w3schools.com"; >
                <Street>St Joseph Street</Address>
                <State>CA</State>
                <Country>US</Country>
        </Address>

        </address>
        <body>String</body>
</note>

I do not want to hard code the XML file inside XSLT.
Are there any functions available in XSLT to do the above (or) is there
any other ways to do the above

Thanks in advance,
Babu



Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or 
Mailadmin(_at_)wipro(_dot_)com immediately
and destroy all copies of this message and any attachments.

--~------------------------------------------------------------------
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>