For attributes you 'll need an attribute value template with curly braces: message="{node}"
Instead of node you can use a parameter with $param or a variable $var too. HTH, Ingo > -----Ursprüngliche Nachricht----- > Von: Frank Niedermann [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 6. November 2008 09:37 > An: fop-users@xmlgraphics.apache.org > Betreff: How to use <xls:value-of as attribute > > > Hi, > > I am using barcode functionality from the Barjode4J project, this is what > I > have working so far: > > <fo:block> > <fo:instream-foreign-object> > <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" > message="message"> > <barcode:code128> > <barcode:height>10mm</barcode:height> > <barcode:human-readable> > <barcode:placement>none</barcode:placement> > </barcode:human-readable> > </barcode:code128> > </barcode:barcode> > </fo:instream-foreign-object> > </fo:block> > > Instead of "message" I would like to generate a barcode from a XML-node. I > have used the <xsl:value-of select="node"/> syntax for that, but I can not > use this syntax in an attribut message="message". > > So how can I set attributes according to nodes from a XML-source? > > Thanks, > Frank --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]