Re: [xml] Still trying to handle entities using the SAX interface



On Thu, Apr 19, 2001 at 10:07:51AM +0200, Fabrizio Ammollo wrote:
But, my program doesn't completely work as expected: entities substitution 
behaves differently within attributes and within elements.

  yes, this is in a large part due to the restriction put on libxml by
the SAX API, it makes things really hard if one want to save back the
document with the references not substitued.

So, I think I'll definitely use the DOM API.

  As long as your document is not too large it is definitely simpler.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]