xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: SVG width of rect element
Date Tue, 19 Dec 2006 21:42:58 GMT
See http://xmlgraphics.apache.org/fop/faq.html#svg-attribute-required

On 19.12.2006 13:26:38 Aeberhard Marc \(SECI\) wrote:
> Hi all...
> 
> Like to generate SVG... In 0.92beta it was no problem! Now i've tested it with 0.92 latest
trunk and i receive the following error
> 
> svg graphic could not be built... the attribute "width" of the element rect is required
> 
> xsl:
> 
> 			<xsl:if test="bgcolor">
> 				<rect x="0" y="0" height="400">
> 					<xsl:attribute name="width">
> 						<xsl:if test="showlegend and not(showlegend/@chartfitpos)">800</xsl:if>
> 						<xsl:if test="not(showlegend) or showlegend/@chartfitpos">600</xsl:if>
> 					</xsl:attribute>
> 					<xsl:attribute name="stroke">none</xsl:attribute>
> 					<xsl:attribute name="fill">
> 						<xsl:value-of select="bgcolor"/>
> 					</xsl:attribute>
> 				</rect>
> 			</xsl:if>
> 
> 
> any ideas?
> 
> cheers,
> 
> marc



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message