[XML-SIG] Entity tralation in XSLT
Trond Eivind Glomsrød
teg@redhat.com
14 Nov 2000 15:58:53 -0500
Are there known problems with entity handling in XSLT with PyXML-0.5.5.1 and
4Suite 0.9.1?
[teg@halden teg]$ cat foo.xsl
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<MAGIC>=<xsl:value-of select="//magic"/>
</xsl:template>
</xsl:stylesheet>
[teg@halden teg]$ cat foo.xml
<magic>Xyzzy!</magic>
[teg@halden teg]$ 4xslt -o bar foo.xml foo.xsl
[teg@halden teg]$ cat bar
<MAGIC>=Xyzzy!
[teg@halden teg]$
This is an simple example, but it also happens in more complex
documents - > is translated, < isn't
--
Trond Eivind Glomsrød
Red Hat, Inc.