RE: pass malformed HTML through the parser?
Have you considered running the files through HTML Tidy in a batch process? It would take about ten minutes to script the batch job, and all your messy HTML would be transformed into well-formed XML. -- Charles Knell cknell@xxxxxxxxxx - email -----Original Message----- From: "Jaques, Yves (FIDI)" <Yves.Jaques@xxxxxxx> Sent: Wed, 13 Aug 2003 15:36:53 +0200 To: "'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Subject: pass malformed HTML through the parser? Our site is XML/XSL, however we are about to receive a thousand pages of old static html that we will never have the time to turn into XHTML. I would like to be able to spit it through the parser without parsing it so that I can wrap our site template around the static html as I do for our other content. Is this possible? I have tried the following: -- using the document() function but the parser just ignored the file as it was not XML. Yves Jaques Information Officer FIDI FIDI - room F-320 United Nations Food and Agriculture Organisation viale delle Terme di Caracalla - 00100 Roma - ITALIA _________________________________________ yves.jaques@xxxxxxx tel. : (39) 0657056058 fax.: (39) 0657052476 Please visit our web site at: HTTP://WWW.FAO.ORG/FI XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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