[xep-support] Why xsl:attribute does not work

ellen yan ellen.yan at home.com
Fri Feb 8 21:04:12 PST 2002


I am trying to insert a gif picture into the pdf file, the source of the gif file is specified in xml file as 
<Logo LogoPath="url(teddy.gif)"/>

My xsl file has:
	<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 this error:
src has an illegal attribute: {1}


It is probably a obvious error, but I just 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