|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Broken tables
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








