How do I sneak a process instruction pass the
serializer to the client?
I am experimenting with XUL. It needs the following
process instruction to pass on to the browser:
<?xml-stylesheet href=""
type="text/css"?>
However, the XMLSerializer chokes if try to pass
the following
<xsl:template match="/">
<xsl:process-instruction
name="xml-stylesheet">
<xsl:text>href="" type="text/css"</xsl:text> </xsl:process-instruction> ...
For reference, here is the sitemap pipeline I am
using.
<map:match pattern="sitemap"> <map:generate src=""/> <map:select> <map:when test="mozilla5"> <map:transform src=""/> <map:serialize type="xml"/> </map:when> <map:otherwise> <map:transform src=""/> <map:serialize/> </map:otherwise> </map:select> </map:match> I tried using the text serializer to no avail.
Jeffrey Ricker
Usonia Holdings, LLC
|
- Re: XUL needs process instruction xml-stylesheet Jeffrey Ricker NG
- Re: XUL needs process instruction xml-stylesheet Jeffrey Ricker NG