creating a Table using Lutus XSLT Processor

Subject: creating a Table using Lutus XSLT Processor
From: "Wakefield, Nicholas" <NWakefield@xxxxxxxxxxxxxxxxx>
Date: Tue, 11 Apr 2000 08:14:51 -0400
Hi XSL experts,

I am trying to build some xsl files to apply to some xml generated by a
program and am hitting a wall because I am not very familiar with writing
xsl for the Lotus XSLT processor.

For example: I want to build a table. The shape of this table will depend on
the XML that is generated (more or less rows causing some cells to span more
or less rows). Let's say I have the following XML:

<PortfolioAccount>

    <Portfolio>

        <equity> </equity>

        <equity> </equity>

    </Portfolio>

</PortfolioAccount>

I can have more than one <Portfolio> and obviously more than one <equity> in
each <Portfolio>. I do not know how many I am going to get... What I need is
to be able to count the number of <equity> for each <Portfolio> so as to
assign this number to a "rowspan" attribute in my html.


Any suggestion is greatly appreciated...

TIA

 


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


Current Thread