I would like to generate this kind of output: XML with CSS, ie the...
...<?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet href='rss-colored.css' title='Default' alternate='no' type='text/css'?> <?xml-stylesheet href='rss.css' title='Boxed' alternate='yes' type='text/css'?> <rss version="2.0">
Does it exist another way to do that?
It is not an serializer option. The stylesheet link is a standard XML processing instruction. If you generate the XML with XSLT, try something like <xsl:template match="/"> <xsl:processing-instruction name="xml-stylesheet"> <xsl:text>href='rss-colored.css' title='Default' </xsl:text> <xsl:text>alternate='no' type='text/css'</xsl:text> </xsl:processing-instruction> <rss version="2.0"> ...
See http://www.w3.org/TR/xslt#section-Creating-Processing-Instructions
J.Pietschmann
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
