Hi

I need some important help!

How can I generate dynamical table rows?
I have a xml-file like this

...
<foo>
  <bar>aa</bar>
  <42>bb</42>
</foo>
<foo>
  <bar>xx</bar>
  <42>yy</42>
</foo>

etc.
...

now, I want a table in my xsl-file with 2 columns and n rows - it means each
<foo> is a own row.

One possibility is, to do it like:
<fo:table-row font....>
   <fo:table-cell ....><fo:block><xsl:value-of
select="foo/bar"/></fo:block></fo:table-cell>
   <fo:table-cell ....><fo:block><xsl:value-of
select="foo/42"/></fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row font...>
... etc. etc. ....

What is the best way?
Thanks a lot for help!!
Patrick


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to