Subject: Problem with Entities
From: Jeff Sese <jsese@xxxxxxxxxxxx>
Date: Wed, 31 Jan 2007 17:28:21 +0800
|
I have this entity declaration in my dtd:
<!ENTITY V1p93 SYSTEM "V1p93.jpg" NDATA JPEG>
an input xml of:
<figure entity="V1p93"/>
And run it through this xslt expression:
<xsl:template match="figure">
<fo:external-graphic src="url("{@entity}")"/>
</xsl:template>
I was expecting that the output would be like this
<fo:external-graphic src="url("V1p93.jpg")"/>
but the ouput i got was:
<fo:external-graphic src="url("V1p93")"/>
it seems that the entity was not resolved.
I'm using xslt 2.0 and saxon.
--
*Jeff Sese*
|