Hi all,

Another user reported this problem back in April 2002:

http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101908975415672&w=2

Given XML source like this:

<?xml version="1.0"?>
<!DOCTYPE ..." [
<!ENTITY figf1 SYSTEM "test.jpg" NDATA JPEG>
]
...
<fig entname="figf1">
...

and XSLT like this:

...
<xsl:template match="fig">
<img><xsl:attribute name="src"><xsl:value-of select="unparsed-entity-uri(@entname)" /></xsl:attribute></img>
</xsl:template>


I should see this in output (this works with xalan command line):

<img src="file:test.jpg" />

But instead, I get an empty string:

<img src="" />

Any idea what's going on?

Thanks,

Fred


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to