[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] pass malformed HTML through the parser?


Subject: RE: [xsl] pass malformed HTML through the parser?
From: cknell@xxxxxxxxxx
Date: Wed, 13 Aug 2003 10:25:01 -0400

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:  [xsl] 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



Current Thread