xsl-list
[Top] [All Lists]

xsl:result-document and stylesheets

2005-07-04 09:48:38
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=(_at_)l!l^!<#]s#[s/0ds^]s(_at_)[p]s&[ddvs^3s!l#x0<&2+l.x]ds.x





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



<Prev in Thread] Current Thread [Next in Thread>