[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] supress errors?
If the problem is with wrong character encodings, then the errors occur while reading XML not while
transforming with XSLT. Perhaps add a try-catch kind of clause around the reading and/or
transforming code?
Kind regards,
Geert
dan@xxxxxxxxxxxxx wrote:
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
--
Drs. G.P.H. Josten
Consultant
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl
De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken
wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.
| 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)
|
|