Hello,

I'm trying to te render a royal mail barcode, but i must be doing something
wrong.

  <fo:block><xsl:apply-templates select="BarcodeOpCo"/></fo:block>
...
  <xsl:template match="BarcodeOpCo">

     <fo:instream-foreign-object>
       <bc:barcode xmlns:bc="http://barcode4j.krysalis.org/ns";>
       <xsl:attribute name="message"><xsl:value-of
select="."/></xsl:attribute>
         <bc:royal-mail-cbc>
          <module-width>0.53mm</module-width>
          <track-height>1.25mm</track-height>
          <ascender-height>1.25mm</ascender-height>
          <interchar-gap-width>1mw</interchar-gap-width>
          <quiet-zone enabled="true">10mw</quiet-zone>
          <checksum>auto=add</checksum>

         </bc:royal-mail-cbc>
       </bc:barcode>
     </fo:instream-foreign-object>

  </xsl:template>

24-okt-2012 6:40:06 org.apache.fop.events.LoggingEventListener processEvent
SEVERE: The intrinsic dimensions of an instream-foreign-object could not be
dete
rmined. (No context info available)

My xml-file contains    <BarcodeOpCo>1234AB120A</BarcodeOpCo>




--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/ANN-Barcode4J-2-1-released-tp16710p37128.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to