Trouble with background-color for inline-level elements.
Hi all, I'm trying to place some text on a white background inside a table-cell with a gray background, but cannot seem to manage it. I've tried using inline, inline-container, leader and wrapper tags with background-color set to produce an inline white background, and combinations of just about all of them, but nothing seems to work. The XSL spec states that these elements all support the background-color property (well, wrapper only indirectly), and the renderer in XFDesigner shows the white background exactly as I want it, but FOP seems unable to render it. The Standards Compliance page on the FOP website does not mention any issues with the background-color property, nor can I find relevant references to it in the bug list or the mailing list archives. Am I doing something wrong? Here is a snippet of the code I'm using: fo:table-cell background-color=lightgray fo:block fo:inline background-color=whiteSome text/fo:inline /fo:block /fo:table-cell Thank you, Ed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Column level Border Not seen
Hi, The Column level BORDER is not seen in the generated PDF, find the sample code here i am trying... am i going wrong somewhere? Thnx in Advance, Cheers, Sudarshan. fo:block-container border-color=black border-width=0.1pt height=0.5cm width=16.5cm top=10.3cm left=0cm padding=0pt position=absolute keep-with-next=always keep-together=always fo:table border=solid border-color=black border-width=0.01pt table-layout=fixed fo:table-column column-width=2.35cm border-width=1mm border-color=black / fo:table-column column-width=2.35cm border-width=1mm border-color=black / fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-body fo:table-row fo:table-cell fo:block font-size=7pt font-weight=bold space-after=1.5mm space-before=1mm start-indent=1mmISIN /fo:block /fo:table-cell fo:table-cell fo:block font-size=7pt font-weight=bold space-before=1mm Term /fo:block /fo:table-cell fo:table-cell fo:block font-size=7pt font-weight=bold space-before=1mm Issue Date /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block-container - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Column level Border Not seen
Hey, i don't know if it work this way, but have you tried border-style=solid? Greetings, Martin Am Montag, 17. Mai 2004 05:53 schrieb Sudarshan Saravu: Hi, The Column level BORDER is not seen in the generated PDF, find the sample code here i am trying... am i going wrong somewhere? Thnx in Advance, Cheers, Sudarshan. fo:block-container border-color=black border-width=0.1pt height=0.5cm width=16.5cm top=10.3cm left=0cm padding=0pt position=absolute keep-with-next=always keep-together=always fo:table border=solid border-color=black border-width=0.01pt table-layout=fixed fo:table-column column-width=2.35cm border-width=1mm border-color=black / fo:table-column column-width=2.35cm border-width=1mm border-color=black / fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-body fo:table-row fo:table-cell fo:block font-size=7pt font-weight=bold space-after=1.5mm space-before=1mm start-indent=1mmISIN /fo:block /fo:table-cell fo:table-cell fo:block font-size=7pt font-weight=bold space-before=1mm Term /fo:block /fo:table-cell fo:table-cell fo:block font-size=7pt font-weight=bold space-before=1mm Issue Date /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block-container - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dievision GmbH | Kriegerstrasse 44 | 30161 Hannover Telefon: (0511) 288791-0 | Telefax: (0511) 288791-99 http://www.dievision.de | mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Column level Border Not seen
Hi, Yep, it works Thnx. Cheers, Sudarshan. [EMAIL PROTECTED] n.de To: [EMAIL PROTECTED] cc: 17/05/2004 16:24 Subject: Re: Column level Border Not seen Please respond to fop-user Hey, i don't know if it work this way, but have you tried border-style=solid? Greetings, Martin Am Montag, 17. Mai 2004 05:53 schrieb Sudarshan Saravu: Hi, The Column level BORDER is not seen in the generated PDF, find the sample code here i am trying... am i going wrong somewhere? Thnx in Advance, Cheers, Sudarshan. fo:block-container border-color=black border-width=0.1pt height=0.5cm width=16.5cm top=10.3cm left=0cm padding=0pt position=absolute keep-with-next=always keep-together=always fo:table border=solid border-color=black border-width=0.01pt table-layout=fixed fo:table-column column-width=2.35cm border-width=1mm border-color=black / fo:table-column column-width=2.35cm border-width=1mm border-color=black / fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-column column-width=2.35cm border-width=1mm border-color=black/ fo:table-body fo:table-row fo:table-cell fo:block font-size=7pt font-weight=bold space-after=1.5mm space-before=1mm start-indent=1mmISIN /fo:block /fo:table-cell fo:table-cell fo:block font-size=7pt font-weight=bold space-before=1mm Term /fo:block /fo:table-cell fo:table-cell fo:block font-size=7pt font-weight=bold space-before=1mm Issue Date /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block-container - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dievision GmbH | Kriegerstrasse 44 | 30161 Hannover Telefon: (0511) 288791-0 | Telefax: (0511) 288791-99 http://www.dievision.de | mailto:[EMAIL PROTECTED] - 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]
Re: Trouble with background-color for inline-level elements.
Edward Coffey wrote: Hi all, I'm trying to place some text on a white background inside a table-cell with a gray background, but cannot seem to manage it. I've tried using inline, inline-container, leader and wrapper tags with background-color set to produce an inline white background, and combinations of just about all of them, but nothing seems to work. The XSL spec states that these elements all support the background-color property (well, wrapper only indirectly), and the renderer in XFDesigner shows the white background exactly as I want it, but FOP seems unable to render it. The Standards Compliance page on the FOP website does not mention any issues with the background-color property, nor can I find relevant references to it in the bug list or the mailing list archives. Am I doing something wrong? Here is a snippet of the code I'm using: background-color is not implemented on fo:inline, fo:inline-container is not implemented (this is mentioned on the compliance page) fo:wrapper is just a holder that passes on properties to its children, i.e. the wrapper object doesnt directly effect the output itself. And the leader only is only partially implemented (also on compliance page), with one of the missing properties being background-color. fo:table-cell background-color=lightgray fo:block fo:inline background-color=whiteSome text/fo:inline /fo:block /fo:table-cell Background-color works on table-cells and fo:block. If putting background-color on fo:block doesnt achieve the effect you want, you can nested an inner table inside the table cell, with one row and one column and put the background-color on the inner cell. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Merging two xml files to one.
Hi Andreas, could you give one example how i acces the childnotes of the merged xml file? xml11.xml: ?xml version=1.0 encoding=ISO-8859-1? mainstates stateState 1/state stateState 2/state /mainstates xml12.xml: ?xml version=1.0 encoding=ISO-8859-1? secstates statesecState 3/statesec statesecState 4/statesec /secstates ?xml version=1.0 encoding=ISO-8859-1? root file href=xml11.xml / file href=xml12.xml / /root xsl:variable name=merged select=document(/root/file/@href) / ... xsl:apply-templates select=$merged/* xsl:sort select=... / /xsl:apply-templates In this example. How do i acces for example secstates/state? what is the attribute of xsl:value-of select=?? root file href=xml11.xml / file href=xml12.xml / ... /root - and in XSLT do xsl:variable name=merged select=document(/root/file/@href) / ... xsl:apply-templates select=$merged/* xsl:sort select=... / /xsl:apply-templates Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]