[xsl] how to output a processing instruction

Subject: [xsl] how to output a processing instruction
From: Nnaemeka David <transkawa@xxxxxxxx>
Date: Wed, 19 May 2010 11:22:43 +0000 (GMT)
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

Current Thread