[xsl] xsl:result-document and stylesheets

Subject: [xsl] xsl:result-document and stylesheets
From: Charpentier Michel <charpov_lists@xxxxxxxxxxx>
Date: Mon, 04 Jul 2005 12:48:38 -0400
Hi,

When using xsl:result-document, how do you attach a stylesheet to the resulting xml document (i.e., how is the <?xml-stylesheet...?> part generated)? This works:

<xsl:result-document href="foo.xml">
<xsl:text disable-output-escaping="yes">
&lt;?xml-stylesheet href="test.css" type="text/css"? &gt;
</xsl:text>
<foo/>
</xsl:result-document>


but there has to be a better way...


MC -- 2p3p[dl!d2+s!%0=@l!l^!<#]s#[s/0ds^]s@[p]s&[ddvs^3s!l#x0<&2+l.x]ds.x

Current Thread