[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Embeding xml inside another xml using xslt


Subject: [xsl] Embeding xml inside another xml using xslt
From: <babu.eshwaramoorthy@xxxxxxxxx>
Date: Mon, 28 Feb 2005 20:34:53 +0530

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@xxxxxxxxx immediately
and destroy all copies of this message and any attachments.


Current Thread
Keywords