I may be way off base, but don't the child elements in <bc:royal-mail-cbc> need the bc prefix as well?
Eric Amick Systems Engineer II Legislative Computer Systems > -----Original Message----- > From: jkattestaart [mailto:[email protected]] > Sent: Wednesday, October 24, 2012 2:43 > To: [email protected] > Subject: Royal mail example Barcode 4J and FOP 1.0 and higher > > 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-<http://apache-fop.1065347.n5.nabble.com/ANN-Barcode4J-2-1-released-tp16710p37128.html> > fop.1065347.n5.nabble.com/ANN-Barcode4J-2-1-released-tp16710p37128.html<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]<mailto:[email protected]> > For additional commands, e-mail: > [email protected]<mailto:[email protected]>
