Re: space after fo:instream-foreign-object/svg:line
Tuna Vardar wrote: snip/ I'm using FOP 0.20.5 and Batik 1.5beta4. How can I clear away the space between two tables? tables are block level elements, the formatter will try to place a new block level element onto a new line. The space allowed for each line can be controlled by setting the line-height property. I'm not sure what you are trying to achieve, why are you using SVG to just draw a line. Will borders on the table themselves not satisfy this requirement? Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: space after fo:instream-foreign-object/svg:line
I'm not sure what you are trying to achieve, why are you using SVG to just draw a line. Will borders on the table themselves not satisfy this requirement? setting border-bottom=solid black attr. in fo:table helped me to get what I need. Thanks for your help. BR, tuna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Space After
It worked!!! Thanks again Pietschmann. I really appreciate your help. --- J.Pietschmann [EMAIL PROTECTED] wrote: Anil wrote: xsl:value-of select=normalize-space($City)/ xsl:if test=$State!='' , xsl:value-of select=$State/ /xsl:if ... My expected output is City, State Zip-ZipExt But i am getting City{space}, State Zip{Space}-ZipExt The XSLT processor strips whitespace-only nodes from the stylesheet. Thie means any text nodes with any non-whitespace character is left as is, including *all* whitespace. Even whitespace at the end or beginning is *not* stripped. There is *no* whitespace normalization for these nodes. A non-breaking space is not a whitespace. THerefore you get the linefeed after the xsl:if opening tags as well as the spaces used for indentation into the output. Either try to omit the whitespace you dont want: xsl:if test=$State!='', xsl:value-of select=$State/ or enclose significant text in xsl:text: xsl:if test=$State!='' xsl:text, /xsl:text xsl:value-of select=$State/ J.Pietschmann - 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]
Space After
Hi, I am trying to use variables inside blocks as below fo:block xsl:if test=$City!='' xsl:value-of select=normalize-space($City)/ xsl:if test=$State!='' #x2C;#160;xsl:value-of select=$State/ /xsl:if xsl:if test=$Zip!='' #160;xsl:value-of select=normalize-space($Zip)/ xsl:if test=$ZipExt!='' -xsl:value-of select=$ZipExt/ /xsl:if /xsl:if /xsl:if /fo:block My expected output is City, State Zip-ZipExt But i am getting City{space}, State Zip{Space}-ZipExt Please let me know how to avoid the extra space after the variable. Thanks -AV - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Space After
Anil wrote: xsl:value-of select=normalize-space($City)/ xsl:if test=$State!='' #x2C;#160;xsl:value-of select=$State/ /xsl:if ... My expected output is City, State Zip-ZipExt But i am getting City{space}, State Zip{Space}-ZipExt The XSLT processor strips whitespace-only nodes from the stylesheet. Thie means any text nodes with any non-whitespace character is left as is, including *all* whitespace. Even whitespace at the end or beginning is *not* stripped. There is *no* whitespace normalization for these nodes. A non-breaking space is not a whitespace. THerefore you get the linefeed after the xsl:if opening tags as well as the spaces used for indentation into the output. Either try to omit the whitespace you dont want: xsl:if test=$State!=''#x2C;#160;xsl:value-of select=$State/ or enclose significant text in xsl:text: xsl:if test=$State!='' xsl:text#x2C;#160;/xsl:text xsl:value-of select=$State/ J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Omit space-before/space-after after page break
Dennis Myrén wrote: Is it possible to omit any space when rendering continues on a new page? The XSL-FO spec provides space-before.conditionality to control this behaviour. space-before.conditionality=discard is the default and discards space before at the beginning of a new reference area. space-before.conditionality=retain behaves as you observed. Unfortunately this is not implemented by FOP, and space-before always behaves as though you set space-before.conditionality=retain I'm not aware of any workarounds. snip/ Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Extra space after cross-reference
I am including a template for cross-references in my stylesheet. The template has the intended result with one exception: it inserts a space when the text following the cross-reference is a period. Here is what the output looks like: For more information, see Getting Started on page 2 . I want the output to be For more information, see Getting Started on page 2. Any ideas on how to fix this would be appreciated. SOURCE FO xsl:template match=a xsl:element name=fo:inline xsl:element name=fo:basic-link xsl:attribute name=internal-destination xsl:value-of select=@idref / /xsl:attribute xsl:value-of select=document(@idref)/cnt-elm/title/ xsl:text on page /xsl:text xsl:element name=fo:page-number-citation xsl:attribute name=ref-id xsl:value-of select=@idref / /xsl:attribute /xsl:element /xsl:element /xsl:element /xsl:template - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Extra space after cross-reference
James, This is just a guess, but perhaps you've included white-space where there doesn't need to be. white-space can be a bit tricky to manage. Although excess white-space is ignored, an extra [carriage-return] or [tab] in the wrong place may not be ignored (particularly if there's no white-space around it may produce unexpected (or unwanted) results. I notice that you've got a couple of extra [carriage-returns] between some elements. Try removing them. If that doesn't work, try putting all of the template on one line: xsl:template match=axsl:element name=fo:inlinexsl:element name=fo:basic-linkxsl:attribute name=internal-destinationxsl:value-of select=@idref //xsl:attributexsl:value-of select=document(@idref)/cnt-elm/title/xsl:texton page /xsl:textxsl:element name=fo:page-number-citationxsl:attribute name=ref-idxsl:value-of select=@idref //xsl:attribute/xsl:element/xsl:element/xsl:element/xsl:template I'm guessing this'll solve it. Also, I don't see the . anywhere. Since this template is being called from somewhere else, it might help to have that portion of your XSL-FL as well. Good luck! Web Maestro Clay jamesl wrote: I am including a template for cross-references in my stylesheet. The template has the intended result with one exception: it inserts a space when the text following the cross-reference is a period. Here is what the output looks like: For more information, see Getting Started on page 2 . I want the output to be For more information, see Getting Started on page 2. Any ideas on how to fix this would be appreciated. SOURCE FO xsl:template match=a xsl:element name=fo:inline xsl:element name=fo:basic-link xsl:attribute name=internal-destination xsl:value-of select=@idref / /xsl:attribute xsl:value-of select=document(@idref)/cnt-elm/title/ xsl:text on page /xsl:text xsl:element name=fo:page-number-citation xsl:attribute name=ref-id xsl:value-of select=@idref / /xsl:attribute /xsl:element /xsl:element /xsl:element /xsl:template -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Extra space after cross-reference
xsl:text is useful exactly because it retains whitespace. For example, because you wrote xsl:text on page /xsl:text instead of xsl:texton page/xsl:text you will always see the extra linebreaks, tabs and spaces used for indenting in the output (check it!), exactly as you put them in the element content. Probably, you are inserting these nefarious spaces while formating the number or placing the period. If you are emmiting any whitespace (spaces, tabs or linebreaks) between the number and the period, they will be rendered by the browser, because the normalization that occurs during rendering only reduces multiple whitespace to a single space -- it never removes everything. = Marcelo Jaccoud Amaral Petrobrás (http://www.petrobras.com.br) mailto:[EMAIL PROTECTED] voice: +55 21 2534-3485 fax: +55 21 2534-1809 = There are only 10 kinds of people in the world: those who understand binary and those who don't. jamesl [EMAIL PROTECTED]Para: [EMAIL PROTECTED] tware.com cc: Assunto: Extra space after cross-reference 10/04/2003 11:57 Favor responder a fop-user I am including a template for cross-references in my stylesheet. The template has the intended result with one exception: it inserts a space when the text following the cross-reference is a period. Here is what the output looks like: For more information, see Getting Started on page 2 . I want the output to be For more information, see Getting Started on page 2. Any ideas on how to fix this would be appreciated. SOURCE FO xsl:template match=a xsl:element name=fo:inline xsl:element name=fo:basic-link xsl:attribute name=internal-destination xsl:value-of select=@idref / /xsl:attribute xsl:value-of select=document(@idref)/cnt-elm/title/ xsl:text on page /xsl:text xsl:element name=fo:page-number-citation xsl:attribute name=ref-id xsl:value-of select=@idref / /xsl:attribute /xsl:element /xsl:element /xsl:element /xsl:template - 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]
Space After fo:block
Hi All, In my generated PDF file from FO... within the fo:flow element continuous fo:block elements are separated with some space but continuous fo:table elements are not separated by any space.. my element descriptions in fo are as follows Table fo:table inline-progression-dimension.minimum=1pt table-layout=fixed width=100% fo:table-column column-width=proportional-column-width(1) column-number=1/ fo:table-header fo:table-row fo:table-cell fo:block text-align=start font-size=7pt font-family=Courier line-height=9pt xsl:textSome Text/xsl:text /fo:block /fo:table-cell /fo:table-row fo:table-header fo:table-body fo:table-row fo:table-cell fo:block text-align=start font-size=7pt font-family=Courier line-height=9pt xsl:textSome Text/xsl:text /fo:block /fo:table-cell /fo:table-row fo:table-body /fo:table === Block fo:block text-align=start font-size=7pt font-family=Courier line-height=9pt xsl:textSome Text/xsl:text /fo:block == How can I make FOP stop adding the spaces after fo:block??? thanks in advance regards Balajee Chandrasekaran Software Engineer Majesco Software Inc. Phone : 91-22-5695 Extn No 7911 Belief Everything is possible for him who believes. Bible MASTEK Investing in relationships In the US, we're called MAJESCO ~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers. ~~
Re: Space After fo:block
Balajee Chandrasekaran wrote: In my generated PDF file from FO... within the fo:flow element continuous fo:block elements are separated with some space but continuous fo:table elements are not separated by any space.. I cannot reproduce your problem, I multiplied your table and then block and those were formatted into uniformly stacked tables and blocks. Post small fo example that illustrates your problem. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel