xsl-list
[Top] [All Lists]

[xsl] how to output a processing instruction

2010-05-19 06:23:24


i was reading the xslt 1.0 recommendation but could not output the example 
processing instruction to an html file.
<xsl:processing instruction name="xml-stylesheet">href="me.css" 
type="text/css"</xsl:processing-instruction>
i tried several ways, first of all through the head element and lastly, 
replacing the text nodes with two <xsl:attribute > tags with the href and type 
being attribute value templates. i still couldn't. can someone help me out and 
show me how to insert a <?xml-stylesheet...?> into the html output?
thanks
david




Never question, keep asking
Writer, Translator and Web designer.
nnaemeka david +234 (0)702 866 8957, +234 (0)703 322 2804


      

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

<Prev in Thread] Current Thread [Next in Thread>