Re: Rotate Barcdoe
Jeremias Maerki <[email protected]> Wed, 28 Jul 2004 13:31:53 +0200
| Newsgroups | gmane.comp.krysalis.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Daniel Don't mix the Xalan-J extension and the FOP extension. Your example here uses the FOP extension, the example in barcodes2xsl-fo.xsl uses the Xalan-J extension. It's not possible to rotate a barcode using the FOP extension. The clue is to embed the SVG barcode into an SVG wrapper that does the transformation (i.e. rotation). What exactly doesn't work about the barcodes2xsl-fo.xsl example? On 28.07.2004 11:29:54 Daniel Busch wrote: > Hi. > > I have some problems with rotate the following Barcode. > > <xsl:template name = "Barcodes"> > <fo:instream-foreign-object> > <bc:barcode xmlns:bc="http://www.krysalis.org/barcode/ns" > render-mode="svg"> > <xsl:attribute name="msg"> > <xsl:value-of select="12345678"/> > </xsl:attribute> > <bc:code128> > <bc:human-readable>bottom</bc:human-readable> > <bc:height>1cm</bc:height> > <bc:module-width>0.30mm</bc:module-width> > <bc:quiet-zone enabled="false">0mw</bc:quiet-zone> > </bc:code128> > </bc:barcode> > </fo:instream-foreign-object> > </xsl:template> > > The example doesn't have worked, that I have found. > > http://cvs.sourceforge.net/viewcvs.py/krysalis/krysalis-barcode/examples/xsl-fo/barcodes2xsl-fo.xsl?rev=1.4&view=auto > > I hope somebody can help me. Jeremias Maerki ------------------------------------------------------- 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