[xslt] error unparsed-entity-uri()
- From: Sebastian Rahtz <sebastian rahtz computing-services oxford ac uk>
- To: xslt gnome org
- Subject: [xslt] error unparsed-entity-uri()
- Date: Fri, 13 Jul 2001 16:11:21 +0100
consider this XML:
<!DOCTYPE foo [ <!NOTATION URL SYSTEM ''>
<!ENTITY TUG SYSTEM "www.tug.org" NDATA URL> ]>
<foo>
<xptr doc="TUG"/>
</foo>
and this XSL:
<xsl:template match="xptr">
<xsl:message>
[<xsl:value-of select="unparsed-entity-uri(@doc)"/>]</xsl:message>
</xsl:template>
I would suggest that libxslt does not implement the function:
[spqr]/tmp:saxon x.xml x.xsl
[file:/tmp/www.tug.org]
[spqr]/tmp:xsltproc x.xsl x.xml
[]
The parser is mandated to read the DTD subset, isn't it?
Sebastian Rahtz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]