I am trying to flow a set of data through a table by rows and columns. I am
having trouble working out how to trigger a new row.
I would like to have results appear in sequence as follows:
1 2 3 4 5
6 7 8 9 10
11 12 etc.
I have looked at various approaches including fo:flow, fo:table, but my tests
with these have not brouth results, or I have not understood how I can apply to
my situation. Surely others have encountered this problem?
Thanks in advance for any suggestions,
Andrew
An excerpt from my XML data>>>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="flow-table.xsl"?>
<bamiyan>
<scribe id="1">
<modified>
<data id="1">
<rm>aṃ</rm>
<kh>Á</kh>
</data>
<data id="2">
<rm>kaṃ</rm>
<kh>Î</kh>
</data>
<data id="3">
<rm>kraṃ</rm>
<kh>Ó</kh>
</data>
<data id="4">
<rm>kṣaṃ</rm>
<kh>*Ô</kh>
</data>
<data id="5">
<rm>caṃ</rm>
<kh>è é</kh>
</data>
<data id="6">
<rm>cā</rm>
<kh>ä</kh>
</data>
</modified>
</scribe>
</bamiyan>
An excerpt from my XSL file>>>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="/bamiyan">
<html>
<body>
<div align="center">
<h3>Syllables with Modified Vowels</h3>
<table width="60%" border="1">
<xsl:for-each select="scribe[1]/modified/data">
<tr>
<td width="20%">
<i> <xsl:value-of select="rm"/></i> 
<span style="font-size: 22pt"><font face="Schoyen01"><xsl:value-of
select="kh"/></font></span>
</td>
</tr>
</xsl:for-each>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Andrew Glass
Department of Asian Languages & Literature
University of Washington
Seattle, Washington 98195
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list