User Profile

Collapse

Profile Sidebar

Collapse
IanPaskin
IanPaskin
Last Activity: Mar 11 '08, 11:13 AM
Joined: Mar 11 '08
Location: UK
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • IanPaskin
    replied to XSL - Positions
    in XML
    Got it to work using..

    <xsl:variable name="xtra_line s" select="number( 20 - (count(orders/item[comments = 'N']) mod 20))"/>

    Ian
    See more | Go to post

    Leave a comment:


  • IanPaskin
    started a topic XSL - Positions
    in XML

    XSL - Positions

    Hi All,

    I use this variable to get the amount of lines i need to pad out an fop document

    <xsl:variable name="xtra_line s" select="number( 20 - (count(orders/item) mod 20))"/>

    XML layout

    <orders>
    <item comment='Y'>
    ....
    </item>
    <item comment='N'>
    ....
    </item>
    </orders>

    ...
    See more | Go to post
No activity results to display
Show More
Working...