A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
XML and Related Technologies
How to use XSL to select from one XML and output to another XML as an attribute?
Joined: Jul 23, 2003
May 20, 2004 08:46:00
How can I design the XSLT to make the output value to be another xml's attribute?
XSLT: <fo:external-graphic src="url(<xsl:value-of select='url'/>
Expected Output: <fo:external-graphic src="url(/graphics/1.tiff)"/>
Right now, the transformation has error if I define XSLT as above.
Anybody has any idea?
Thanks in advance.
Joined: Jan 23, 2002
May 20, 2004 09:36:00
<xsl:element name="fo:external-graphic"> <xsl:attribute name="src"> url(<xsl:value-of select="url"/>) </xsl:attribute> </xsl:element>
[ May 20, 2004: Message edited by: Lasse Koskela ]
Effective Unit Testing
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to use XSL to select from one XML and output to another XML as an attribute?
FOP and SVG Files
Image sizes not descreasing in xsl fo
FOP graphics problem
Background image in XSL-FO from XML field
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014