Hi,

i am quite new to FOP, so i need a little help.

The XML file comes with a dynamically created tag, that holds the path to an
image:

<user>
    <id>001</id>
    <name>foo</name>
    <familyname>bar</familyname>
    <image>/somepath/foo_bar_001.jpg</image>
</user>

How can i use the image content in the XSLT ? That the result is:

<fo:external-graphic width="200px" height="40px"
content-width="scale-to-fit" content-height="scale-to-fit"
src="/somepath/foo_bar_001.jpg"/>

Do i need to load the <xs:value-of select="image"/> into a variable ?


Thank you,
Regards
Foobar






--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Variables-tp36660.html
Sent from the FOP - Users mailing list archive at Nabble.com.

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

Reply via email to