Subject: inserting XML from the nodeset
From: jp <jpkeisala@xxxxxxxxx>
Date: Sun, 30 Oct 2005 11:29:24 -0800 (PST)
|
Hi,
I would like to embed XML from nodeset as it is into a
transformation how can I do this?
For example if I have:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:variable name="myXML">
<myXML>Hello</myXML>
</xsl:variable>
<xsl:template match="/">
<data>
<xsl:value-of select="$myXML"/>
</data>
</xsl:template>
</xsl:stylesheet>
I would like output:
<data><myXML>Hello</myXML></data>
This should be quite obvious but I can't figure out
how to do this. :-/
-jp
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
|