Subject: Re: [xsl] Embedding XML in another XML From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 26 Jun 2018 11:50:29 -0000 |
Hi,
Ibm required to produce an XML file like this using XSLT 1.0:
<?xml version=b1.0b?>
<root>
<element>
B B B <?xml version="1.0" encoding="utf-16"?> B B B B B <AXFRoot> B B B B B B B <MAObject type="default" mdclass="EPISODE"> B B B B B B B B B <GUID dmname="">595233000</GUID>
B .....
B </element>
</root>
So basically I have to put a string-encoded XML structure inside another XML. While I'm sure this is theoretically possible by just using <xsl:text>, this does not seem like a sustainable way of working with long and deep structures.
Is this possible without resorting to 'heavier' programming solutions?
If XSLT 2.0 or 3.0 can offer a solution I'd also like to hear.
<element> <xsl:value-of select="unparsed-text('foo.xml')"/> </element>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Embedding XML in another , Michael Kay mike@xxx | Thread | Re: [xsl] Embedding XML in another , Betty Harvey harvey@ |
Re: [xsl] Embedding XML in another , Michael Kay mike@xxx | Date | Re: [xsl] Embedding XML in another , Betty Harvey harvey@ |
Month |