Subject:XML Output of stylesheet directive Author:John Higgins Date:05 Dec 2005 08:55 AM
I am transforming XML to XML and trying to output a stylesheet directive (to perform a FO transform). I setup a variable with the directive using the predefined entities and value-of to output, as follows:
<xsl:variable name="trans_file">
<?xml-stylesheet type="text/xsl" href="c:\drv_e\brl\database\tools\FCI_Doc\item_fo.xsl"?>
</xsl:variable>
<xsl:value-of select="$trans_file"/>
The " gets converted correctly, but the < and > are copied verbatim, as follows:
<?xml-stylesheet type="text/xsl" href="c:\drv_e\brl\database\tools\FCI_Doc\item_fo.xsl"?>
I have enclosed the XSL and output XML (the base item_spec.xml and boiler_plate.xml are unchanged from my previous posting.