Re: [xsl] xhtml -> xsl:fo transform guidelines/issues

Subject: Re: [xsl] xhtml -> xsl:fo transform guidelines/issues
From: scott gabelhart <swgabel@xxxxxxxxxxxx>
Date: Thu, 12 Feb 2004 13:36:00 -0500




Tokushige,

my xhtml contains deeply nested tables. I have attached a snippet of my xhtml input file. Do you have any transform code from xhtml to fo that encompasses nested xhtml table constructs?

Thanks in advance.

xhtml sample snippet

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
<title>YOU ROCK</title>
</head>
<body>
<table xmlns="" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"/>
</tr>
</table>
<table xmlns="" border="0" cellspacing="0" cellpadding="0" width="842">
<tr>
<td width="3"/>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="4" height="6"/>
<td width="22" height="6"/>
<td width="67" height="6"/>
<td width="2" height="6"/>
<td width="211" height="6"/>
<td width="2" height="6"/>
<td width="273" height="6"/>
<td width="48" height="6"/>
<td width="92" height="6"/>
<td width="2" height="6"/>
<td width="2" height="6"/>
<td width="82" height="6"/>
<td width="6" height="6"/>
<td width="22" height="6"/>
<td width="5" height="6"/>
</tr>
<tr>
<td width="4"/>
<td width="22"/>
<td width="67" valign="top">
<table border="0" width="66">
<tr>
<td style="color:#000000;font-family:Arial;font-size:10pt;background-color:#FFFFFF;height:20px;font-weight:bold;">Agent ID:</td>
</tr>
</table>
</td>
<td width="2" colspan="2" valign="top">
<table border="0" width="212">
<tr>
<td style="color:#000000;font-family:Arial;font-size:12pt;background-color:#FFFFFF;height:20px;font-weight:bold;">100008</td>
</tr>
</table>
</td>
<td width="2"/>
<td width="273"/>
<td width="48"/>
<td width="92"/>
<td width="2"/>
<td width="2" colspan="2" valign="top">
<table border="0" width="84">
<tr>
<td style="color:#000000;font-family:Arial;font-size:10pt;background-color:#FFFFFF;height:20px;font-weight:bold;">5/22/2003</td>
</tr>
</table>
</td>
<td width="6"/>
<td width="22"/>
<td width="5"/>
<td height="20"/>
</tr>
<tr>
<td width="4"/>
<td width="22" colspan="3" rowspan="2" valign="top">
<table border="0" width="90">
<tr>
<td style="color:#000000;font-family:Arial;font-size:10pt;background-color:#FFFFFF;height:20px;font-weight:bold;">Agent Name:</td>
</tr>
</table>
</td>
<td width="211"/>
<td width="2"/>
<td width="273"/>
<td width="48"/>
<td width="92" colspan="3" rowspan="2" valign="top">
<table border="0" width="96">
<tr>
<td style="color:#000000;font-family:Arial;font-size:10pt;background-color:#FFFFFF;height:20px;font-weight:bold;">Report Date:</td>
</tr>
</table>
</td>
<td width="82" colspan="3" rowspan="2" valign="top">
<table border="0" width="111">
<tr>
<td style="color:#000000;font-family:Arial;font-size:10pt;background-color:#FFFFFF;height:20px;font-weight:bold;">January 2004</td>
</tr>
</table>
</td>
<td width="5"/>
<td height="2"/>
</tr>
<tr>
<td width="4"/>
<td width="211" colspan="2" rowspan="2" valign="top">
<table border="0" width="212">
<tr>
<td style="color:#000000;font-family:Arial;font-size:12pt;background-color:#FFFFFF;height:20px;font-weight:bold;">100008</td>
</tr>
</table>
</td>
<td width="273"/>
<td width="48"/>
<td width="5"/>
<td height="17"/>
</tr>
<tr>
<td width="4"/>
<td width="22"/>
<td width="67"/>
<td width="2"/>
<td width="273"/>
<td width="48" colspan="2" rowspan="2" valign="top">
<table border="0" width="140">
<tr>
<td style="color:#000000;font-family:Arial;font-size:10pt;background-color:#FFFFFF;height:20px;font-weight:bold;">Commission Period:</td>
</tr>
</table>
</td>
<td width="2"/>
<td width="2"/>
<td width="82"/>
<td width="6"/>
<td width="22"/>
<td width="5"/>
<td height="2"/>
</tr>
<tr>
<td width="4"/>
<td width="22"/>
<td width="67"/>
<td width="2"/>
<td width="211"/>
<td width="2"/>
<td width="273"/>
<td width="2"/>
<td width="2"/>
<td width="82"/>
<td width="6"/>
<td width="22"/>
<td width="5"/>
<td height="17"/>
</tr>
<..snip..>


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


Current Thread