xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aeberhard Marc \(SECI\)" <marc.aeberh...@credit-suisse.com>
Subject SVG width of rect element
Date Tue, 19 Dec 2006 12:26:38 GMT
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: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 name="stroke">none</xsl:attribute>
					<xsl:attribute name="fill">
						<xsl:value-of select="bgcolor"/>

any ideas?



View raw message