[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Using FO:Float

Subject: Using FO:Float
From: "Jacqueline Radebaugh" <jrad@xxxxxxx>
Date: Thu, 02 Nov 2006 15:53:29 -0500
fo float
Hello:

I am currently writing a XSL-FO style sheet to convert a XML file into a PDF
document.

A small section of my XML is:

<change>
<description>
<p>Meeting or conference name used as a main entry in a bibliographic
record.</p>
<p>According to various cataloging rules, main entry under a meeting name is
assigned to works that contain proceedings, reports, etc.</p>
</description>
</change>

I am trying to use <fo:float> to create a vertical line that runs along the
left margin of the text surrounded by the <change> element.

I would like my output to resemble:

| Meeting or conference name used as a main entry in a bibliographic record.
| According to various cataloging rules, main entry under a meeting name is
assigned   | to works that contain proceedings, reports, etc.

My current XSL-FO template for the <change> element is:

<xsl:template match="change">
<fo:float float="left">
<fo:block-container>
<fo:block>
<fo:character character="&#x2758;" font-family="ZapfDingbats"/>
<xsl:apply-templates select="@* | *[contains(@type, $my_version) or
string-length(@type)=0] | text()"/>
</fo:block>
</fo:block-container>
</fo:float>
</xsl:template>

Unfortunately, using this template, my output resembles (where the vertical
line is above the text):

|
Meeting or conference name used as a main entry in a bibliographic record.
According to various cataloging rules, main entry under a meeting name is
assigned to works that contain proceedings, reports, etc.

How can I write the template so that the vertical line runs along the left
margin of each line of text that is surrounded by the <change> element in the
XML?

I am using RenderX XEP.

Thank you very much for your help!  I sincerely appreciate it!


Best wishes,





Jackie Radebaugh

Library of Congress
Network Development & MARC Standards Office
Washington, DC
USA
Phone:  +1-202-707-1153
FAX:  +1-202-707-0115
E-Mail:  jrad@xxxxxxx

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.