xsl-list
[Top] [All Lists]

write out xml *with* tags for data island inside xsl??

2005-04-21 05:40:41
MSXML4 and ASP.

I'm rendering an XML document with a style sheet and I'm passing a
separate XML document(regions_xmldoc) as a parameter.  I need 
"regions_xmldoc" to be a data island for some javascript in the ASP
page that is doing the rendering.  I tried this in the style sheet:

<xml id="dsoRegions"><xsl:value-of select="$regions_xmldoc"/></xml>
</body>
</html>

but view source reveals that the page contains XML doc B without the
tags.  I know I can do this from the ASP page, but is there a way to get
"regions_xmldoc" to display *with* the tags, from within the style
sheet?

TIA.

Hardy Merrill

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