Re: [xsl] Without DTD Mapping

Subject: Re: [xsl] Without DTD Mapping
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Mon, 25 Aug 2008 08:12:48 +0100
V.Ramkumar wrote:
Hi list,

I am doing XML 2 XML transform using xslt2.0 through saxon. My source xml
don't have any DTD (to Map/Assign). But saxon throws error when transform
for entity as "Error on line 5 column 56 of c01.xml: SXXP0003: Error
reported by XML parser: The entity "hyphen" was eferenced, but not
declared." How to ignore parsing when transform.

http://andrewjwelch.com/lexev/


Trap it prior to xslt engine seeing it,
then process it as xml to whatever you want


regards


--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread