[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Without DTD Mapping
You can't use XSLT to transform an input document unless the input is well-formed XML. If the input contains an entity reference ‐ but there is no DTD to declare what this entity reference means, then the input is not well-formed XML. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: V.Ramkumar [mailto:V.Ramkumar@xxxxxxxxxxxxxxxxxxxxxx] > Sent: 25 August 2008 06:06 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Without DTD Mapping > > > 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. > > Regards, > Ramkumar
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|