[xep-support] xsl:attribute does not work

ellen ellen.yan at home.com
Fri Feb 8 21:18:46 PST 2002


I am trying to add a gif picture into a pdf file. The source of the gif file is specified in the xml file as:
<Logo LogoPath="url(pic.gif)"/>  
In the xsl file:
	<xsl:template match="Logo">
		<fo:block text-align="start">
			<fo:external-graphic content-height="2.0cm" scaling="uniform"/>
			<xsl:attribute name="src" > <xsl:value-of select="@LogoPath"/></xsl:attribute>
		</fo:block>
	</xsl:template>
I keep getting the error:
src has an illegal attribute: {1}.  It might be an obvious error, but I couldn't see it, please help!
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list