Subject: [xsl] 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")"/>
I'm using xslt 2.0 and saxon. -- *Jeff Sese*
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Setting variable to names, David Carlisle | Thread | Re: [xsl] Problem with Entities, David Carlisle |
Re: [xsl] Setting variable to names, David Carlisle | Date | [xsl] conditional multiline output, Erwin Kloeck |
Month |