unparsed text
Posted: Fri Aug 26, 2005 11:23 am
Im just trying to get the unparsed-text function to work with oxygen or anything for that matter but I just cant, can anyone help me please. I tried doing it this way:
and this way:
the first give this error:
and the second gives this error
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" version="2.0">
<xsl:output method="html"/>
<xsl:template match="/">
<xsl:value-of select="fn:unparsed-text('TF20050819.TXT', 'UTF-8')"
disable-output-escaping="yes"/>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output method="html"/>
<xsl:template match="/">
<xsl:value-of select="unparsed-text('TF20050819.TXT', 'UTF-8')"
disable-output-escaping="yes"/>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
Code: Select all
The URI http://www.w3.org/2005/02/xpath-functions does not identify an external Java class
Code: Select all
Error in expression unparsed-text('TF20050819.TXT', 'UTF-8'): Unknown system function: unparsed-text