RE: [xsl] supress errors?

Subject: RE: [xsl] supress errors?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 19 Jan 2006 16:14:31 -0000
No: I'm afraid that if your XML isn't well-formed, there's no way you can
use XSLT to process it.

A lot of the motivation behind XML was to get away from the "tag soup"
mentality of HTML, where consumers of HTML were expected to plough on
regardless of what rubbish they found in their input.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: dan@xxxxxxxxxxxxx [mailto:dan@xxxxxxxxxxxxx] 
> Sent: 19 January 2006 15:33
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] supress errors?
> 
> For my application, people have to upload an XML file (their 
> iTunes Music
> Library). After it uploads, I run a transformation on it in PHP5. Many
> transformations are not working and showing errors because of weird
> characters in the source XML. The source and result XML are 
> set to UTF-8.
> Is there a way to skip over a troubled node? I can't imagine that XLST
> doesn't have a way to deal with this.
> 
> thanks,
> Dan

Current Thread
  • [xsl] supress errors?
    • dan - Thu, 19 Jan 2006 10:32:33 -0500 (EST)
      • Geert Josten - Thu, 19 Jan 2006 16:51:20 +0100
      • Jon Gorman - Thu, 19 Jan 2006 10:01:42 -0600
      • Michael Kay - Thu, 19 Jan 2006 16:14:31 -0000 <=
      • Message not available
        • andrew welch - Thu, 19 Jan 2006 16:30:51 +0000
          • dan - Thu, 19 Jan 2006 22:30:12 -0500 (EST)