question / issue with Barcode / FOP

Daniel Greene <[email protected]>
Newsgroups gmane.comp.krysalis.devel
Message-ID <[email protected]>
I'm trying to use Barcode with FOP.  Sounds simple enough, as the example xsl seems to work. 
However, I cannot substiture variable values in for the barcode message:

<xsl:variable name="testit" select="FIELD_FROM_XML" />

<barcode:barcode xmlns:barcode="http://www.krysalis.org/barcode/ns" msg="$testit" >
.....
</barcode>

what I get is a barcode with literally "$testit" as the text.

I tried the other way of generating them shown in the example section, with the 

<xsl:variable name="block">
<barcode>
  <ean-13/>
</barcode>
</xsl:variable>

and later with
<xsl:copy-of select="barcode:generate($block,'test')" />


I get a 'Function not supported' error....

Where am I going wrong?

Dan Greene

barcode:generate(

=====

---------------------------------
 "I wouldn't recommend sex, drugs or insanity for
everyone, but they've always worked for me."
-HST
[email protected]

---------------------------------



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.