Subject: [xsl] Generating Table Cell values to match Columns From: "Glenn Copen" <copeng@xxxxxxxxxxxxxxx> Date: Tue, 18 Mar 2003 16:28:42 -0500 (EST) |
I have table data that may have blank entries for specific cells. If I have the following: <table> <thead> <colspec colname=?FRED? /> <colspec colname=?SAM? /> <colspec colname=?JANE? /> <colspec colname=?BILL? /> <colspec colname=?MARY? /> <colspec colname=?SALLY? /> </thead> <tbody> <row> <entry colname=?FRED?> Text 1 </entry> <entry colname=?JANE?> Text 3 </entry> <entry colname=?BILL?> Text 4 </entry> <entry colname=?SALLY?> Text 6 </entry> </row> </tbody> </table> How do I generate the <TD> element for the matching column in XSLT? I need to somehow test the value of "colname" in <entry> against the "colname" in the <colspec>. This needs to be a ?generic? solution based on the XML data, since I have many tables in the file with different number of columns, different colname values, etc. Thanks, Glenn XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Answers to review questio, Americo Albuquerque | Thread | RE: [xsl] Generating Table Cell val, Passin, Tom |
Re: [xsl] what does "AW:" mean?, Trevor Jenkins | Date | RE: [xsl] what does "AW:" mean?, Dion Houston |
Month |