Subject: Re: Broken tables From: felix@xxxxxxxxxxxxxxxxxxxxxx Date: Tue, 27 Jun 2000 15:04:49 +0200 |
On Tue, Jun 27, 2000 at 11:13:21AM +0100, Pawson, David wrote: > I have an SGML document I'm converting to xml, > and I'm having trouble with the tables :-) > > Each table row, instead of tagging up the cell data, > tags up the seperators! > > E.g. > > <TABROW><TT>ati</TT><COLSEP>ATI</TABROW> > <TABROW><TT>r128</TT><COLSEP>ATI Rage 128</TABROW> Well, this is not well-formed xml. You can easily convert it into well-formed xml with sed. cat brokenxml.sgml | sed -e s-\<COLSEP\>-\</COLSEP\>\<COLSEP\>- \ -e s-\<TABROW\>-\<TABROW\>\<COLSEP\>-\ -e s-\</TABROW\>-\</COLSEP\>\<TABROW\>- > wellformed.xml After that you can apply your xslt-templates :) hth Felix XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Broken tables, David Carlisle | Thread | RE: Broken tables, Pawson, David |
Re: Broken tables, David Carlisle | Date | XSL vs. XSLT, different syntax? (Re, Xu, Xiaocun |
Month |