[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: pass malformed HTML through the parser?

Subject: RE: pass malformed HTML through the parser?
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Wed, 13 Aug 2003 16:23:01 +0200
malformed html
How about:

3. run it through "tidy" once, generating XHTML?

Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Jeff Kenton
> Sent: Wednesday, August 13, 2003 4:13 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  pass malformed HTML through the parser?
>
>
> Jaques, Yves (FIDI) wrote:
> > 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?
>
> Two possibilities:
>
> 1. Since this sounds like a one time problem, do it with some
> other language.
>
> 2. If you have an XSLT 2.0 processor (Saxon) you might try the
> unparsed-text() function, which will read your page into a text
> string without parsing it.  Then you can wrap it and write it out.
>
> --
>
> --------------------------
> Jeff Kenton
> DataPower Technology, Inc.
>
>
>
>  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.