Re: Problem with comma ,
The correct XML file. Bye Stefano -- Original Message -- Wrom: SKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADR Reply-To: [EMAIL PROTECTED] Date: Thu, 12 Dec 2002 10:31:17 +1000 Stefano Barella wrote: Thank u, my problem was I have a String like this one: -0,79 * The problem is the black because now I put int the xml the following string: -0,79* Stefano, Can you provide a snippet of the fo text in which this occurs? Peter -- Peter B. West [EMAIL PROTECTED] http://www.powerup.com.au/~pbwest/ Lord, to whom shall we go? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; version=1.0 xsl:template match=REPORT fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; !-- defines the layout master -- fo:layout-master-set fo:simple-page-master master-reference=all page-height=29.7cm page-width=21cm margin-top=0.5cm margin-bottom=0.5cm margin-left=0.5cm margin-right=0.5cm fo:region-body margin-top=0px margin-bottom=0.0px/ fo:region-before extent=0px / fo:region-after extent=0px/ /fo:simple-page-master /fo:layout-master-set !-- starts actual layout -- fo:page-sequence master-name=page fo:static-content flow-name=xsl-region-before xsl:for-each select=HEADER fo:block xsl:value-of select=./ /fo:block /xsl:for-each /fo:static-content fo:static-content flow-name=xsl-region-after xsl:for-each select=FOOTER fo:block xsl:value-of select=./ /fo:block /xsl:for-each /fo:static-content fo:flow flow-name=xsl-region-body xsl:for-each select=BODY xsl:for-each select=PAGE xsl:choose xsl:when test=@page='0' xsl:for-each select=HEAD fo:blockxsl:value-of select=. //fo:block /xsl:for-each xsl:for-each select=TABLE fo:block-container height=8.375181818181819cm width=14.4cm top=1.3045454545454545cm left=0.15384615384615385cm position=absolute fo:block xsl:choose xsl:when test=@name='AtmPosTable0' fo:table fo:table-column column-width=0.923076923076923cm / fo:table-column column-width=3.3692307692307693cm / fo:table-column column-width=3.3692307692307693cm / fo:table-column column-width=3.3692307692307693cm / fo:table-column column-width=3.3692307692307693cm / fo:table-column column-width=3.3692307692307693cm / fo:table-body xsl:for-each select=TR xsl:choose xsl:when test=@row='0' fo:table-row height=0.46963636363636363cm fo:table-cell number-rows-spanned=3 display-align=center text-align=center border-width=0.01mm border-style=solid fo:block text-align=center /fo:block /fo:table-cell fo:table-cell number-columns-spanned=4 display-align=center text-align=center border-width=0.01mm border-style=solid fo:block font-family=Arialfont-weight=normalfont-style=italic font-size=0.252cm Utilizzabili solo su ATM /fo:block /fo:table-cell /fo:table-row /xsl:when xsl:when test=@row='1' fo:table-row height=0.46963636363636363cm fo:table-cell number-rows-spanned=2 display-align=center text-align=center
Problem with comma ,
I'd like to put in a cell of a table a value with comma (,) for example 88,92 but FOP give me the following error: org.apache.fop.apps.FOPException: An invalid XML character (Unicode: 0x0) was found in the element content of the document. Any suggestion ? Thanks Stefano Barella - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with comma ,
Thank u, my problem was I have a String like this one: -0,79 * The problem is the black because now I put int the xml the following string: -0,79* Bye bye Stefano -- Original Message -- From: Oleg Tkachenko [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 11 Dec 2002 18:21:04 +0200 Stefano Barella wrote: I'd like to put in a cell of a table a value with comma (,) for example 88,92 but FOP give me the following error: org.apache.fop.apps.FOPException: An invalid XML character (Unicode: 0x0) was found in the element content of the document. Certanly comma is not 0x0, look for something else. Make sure your xml(or xsl) is well-formed. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Fatal Error]: xlink:href is not bound
Hello, I have updated the fop lib from 0.20.2 release to 0.20.4 and now I have the following problem: [Fatal Error]: The prefix xlink for attribute xlink:href is not bound. The xsl and xml file are the same used before ( in the previouse releasa ) while the svg is created by the new batik lib provided by the new fop release (0.20.4). Any suggestion ? Thanks a lot Bye Stefano Barella - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to Center a text in a table cell?
Hi, I'm Stefano and I have a problem with xsl-fo tables. I don't know how I can center a text verticaly in a cell table. I know how to center the text horizontally But I'd like to do both. Can anybody help me ? My Example below : fo:table-row height=0.5cm fo:table-cell number-rows-spanned=3 border-width=0.01mm border-style=solid fo:block text-align=center xsl:value-of select=[EMAIL PROTECTED]'0'] / /fo:block /fo:table-cell /fo:table-row Bye , thanks Stefano Barella
RE: Block Absolute Postions --ERROR--
In Attach an Example. Bye Stefano -Original Message- From: [m] zentrale | andre marthaler [mailto:[EMAIL PROTECTED] Sent: Thursday, June 27, 2002 4:19 PM To: [EMAIL PROTECTED] Subject: AW: Block Absolute Postions --ERROR-- Using the Example, I get an org.apache.fop.layout.BlockArea Error on FOP 0.20.3 My Example: !-- Begin zelle_links -- xsl:template match=zelle_links fo:block-container height=19cm width=9cm left=9cm top=0cm position=absolute fo:block xsl:apply-templates / /fo:block /fo:block-container /xsl:template !-- End zelle_links -- Where is the Error?? Andre. -Ursprüngliche Nachricht- Von: Stefano Barella [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. Juni 2002 15:22 An: [EMAIL PROTECTED] Betreff: RE: Block Absolute Postions Hello I'm Stefano, I found few days ago the way to create A block in an absolute position. The correct way is to Create a block-container in a fixed position and put inside a block where you can put anything. An example, inside a BODY : xsl:for-each select=BODY fo:block-container height=19cm width=9cm left=0cm top=0cm position=absolute border-width=0.01mm border-style=solid fo:block /fo:block /fo:block-container fo:block-container height=19cm width=9cm left=9cm top=0cm position=absolute border-width=0.01mm border-style=solid fo:block /fo:block /fo:block-container Bye Stefano -Original Message- From: [m] zentrale | andre marthaler [mailto:[EMAIL PROTECTED] Sent: Thursday, June 27, 2002 3:09 PM To: [EMAIL PROTECTED] Subject: Block Absolute Postions Hello, i want define an fo:block on an Absolute Position, but i dont find any Info about this in any Tutorial. Can anybody help me, where i can define an absolute Position on my page?? Thx a lot . Andre. [--My Bad English--] attachment: Example.zip
RE: Block Absolute Postions --ERROR--
May be: Instead of match,try to use name. Here below the code: !-- Begin zelle_links -- xsl:template name=zelle_links fo:block-container height=19cm width=9cm left=9cm top=0cm position=absolute fo:block xsl:apply-templates / /fo:block /fo:block-container /xsl:template !-- End zelle_links -- Bye Stefano -Original Message- From: [m] zentrale | andre marthaler [mailto:[EMAIL PROTECTED] Sent: Thursday, June 27, 2002 4:19 PM To: [EMAIL PROTECTED] Subject: AW: Block Absolute Postions --ERROR-- Using the Example, I get an org.apache.fop.layout.BlockArea Error on FOP 0.20.3 My Example: !-- Begin zelle_links -- xsl:template match=zelle_links fo:block-container height=19cm width=9cm left=9cm top=0cm position=absolute fo:block xsl:apply-templates / /fo:block /fo:block-container /xsl:template !-- End zelle_links -- Where is the Error?? Andre. -Ursprüngliche Nachricht- Von: Stefano Barella [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. Juni 2002 15:22 An: [EMAIL PROTECTED] Betreff: RE: Block Absolute Postions Hello I'm Stefano, I found few days ago the way to create A block in an absolute position. The correct way is to Create a block-container in a fixed position and put inside a block where you can put anything. An example, inside a BODY : xsl:for-each select=BODY fo:block-container height=19cm width=9cm left=0cm top=0cm position=absolute border-width=0.01mm border-style=solid fo:block /fo:block /fo:block-container fo:block-container height=19cm width=9cm left=9cm top=0cm position=absolute border-width=0.01mm border-style=solid fo:block /fo:block /fo:block-container Bye Stefano -Original Message- From: [m] zentrale | andre marthaler [mailto:[EMAIL PROTECTED] Sent: Thursday, June 27, 2002 3:09 PM To: [EMAIL PROTECTED] Subject: Block Absolute Postions Hello, i want define an fo:block on an Absolute Position, but i dont find any Info about this in any Tutorial. Can anybody help me, where i can define an absolute Position on my page?? Thx a lot . Andre. [--My Bad English--]