You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by anandhthiyagarajan <an...@gmail.com> on 2010/01/05 08:12:26 UTC

Dynamic table generation

Hi everybody

      Is there anyway in xsl:fo to create dynamic columns in a table.

Ex:

  <root>
      <label>company 1</label>
      <label>company 2</label>
      <label>company 3</label>
       .
       .
       .
       .
       .
       <label>company n</label>
       <requirement>hello</requirement>
       <comments>good</comments>
   </root>

    The xsl:fo should be in such a way that it should parse through this xml
and print the company names in header of the tables along with requirements
and comments.

    Any help would be appreciated.


Thanks in Advance

Anandh

-- 
View this message in context: http://old.nabble.com/Dynamic-table-generation-tp27024524p27024524.html
Sent from the Cocoon - Dev mailing list archive at Nabble.com.


Re: Dynamic table generation

Posted by Luca Morandini <lm...@ieee.org>.
On 05/01/10 08:12, anandhthiyagarajan wrote:
>
>        Is there anyway in xsl:fo to create dynamic columns in a table.

Yes, but it has nothing to do specifically with XSL:FO, it is just XSLT/XPath.


>      Any help would be appreciated.

You'd better search the XSL-list archives at mulberrytech 
(http://www.mulberrytech.com/xsl/xsl-list/), there should be some XSLT fragments 
you may find useful.

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------