xsl-list
[Top] [All Lists]

Re: [xsl] Without DTD Mapping

2008-08-25 02:39:47
You can also delete the DocType statement from the input xml and then try....

Mandar Jagtap

On 8/25/08, Dave Pawson <davep(_at_)dpawson(_dot_)co(_dot_)uk> wrote:
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


--~------------------------------------------------------------------
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




-- 
Thanks & Regards,
Mandar

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--