cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: style - external references
Date Tue, 10 Dec 2002 20:59:01 GMT
<xsl:processing-instruction name="xml-stylesheet">
   <xsl:text>type="text/css" href="http://localhost/style.xml"</xsl:text>

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.


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

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message