Hi,
Tempore 18:48:38, die 07/04/2005 AD, hinc in
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit Charpentier Michel
<charpov_lists(_at_)verizon(_dot_)net>:
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">
<?xml-stylesheet href="test.css" type="text/css"?>
</xsl:text>
<foo/>
</xsl:result-document>
Noramlly, you'd use:
<xsl:processing-instruction name="xml-stylesheet">href="test.css"
type="text/css"</xsl:processing-instruction>
I guess it would work with 'xsl:result-document' as well...
regards,
--
Joris Gillis (http://users.telenet.be/root-jg/me.html)
Spread the wiki (http://www.wikipedia.org)
--~------------------------------------------------------------------
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>
--~--