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

[no subject]

From: "Tanzila Mohammad" <tmohammad@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 5 Apr 2001 12:01:27 +0100
[no subject]
I have to reproduce a newsletter format, whereby the text is split into
columns. My xml follows this format:

    <heading>A Word from the Author</heading>
    <author>Mr J. Bloggs</author>
       <paragraph>'a text block'</paragraph>
       <paragraph>'a text block'</paragraph>
       <paragraph>'a text block'</paragraph>

The xsl I have involves a table split into three columns - the first will
contain a paragraph per row then an empty column followed by successive
paragraphs in a third column. I am having trouble with placing the
successive paragraphs in the third column. At the moment I have paragraphs
filling the first column then the code copies the same paragraphs into the
final column (see below). I require a means of each page containing
paragraphs 1-3 in the first column then paragraphs 4-6 in the third column

 <xsl:for-each select="body/paragraph">
    <td width="251" align="left" valign="top">
    <br> </br><xsl:call-template name="fontStyle">
				<xsl:with-param name="text">
    <td width="20" align="left" valign="bottom">
     <td width="251" align="left" valign="bottom">
     <xsl:call-template name="fontStyle">
				<xsl:with-param name="text">

Any assistance would be greatly appreciated.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.