[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Using 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="❘" 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|