<xsl:text>type="text/css" href="http://localhost/style.xml"</xsl:text>
</xsl:procesing-instruction>
As you can read, it's a processing instruction. A PI has no attributes (even if it looks so), so you create the content as text.
Joerg
Chris Faulkner wrote:
Hello
I have a stylesheet which imports some CSS and SVG styles in a <defs> tag for an SVG document with the following
<xsl:copy-of select="document('style.xml')"/ >
In my static SVG files, I can make an external reference to the file in this way.
<?xml-stylesheet type="text/css" href="http://localhost/style.xml"?>
How can I write my XSL so that the xml-stylesheet is placed in the SVG in the second way ?
Thanks
Chris
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>