Re: [xml] predefined entity refs



[Cc'ing the list again !]

On Wed, Dec 01, 2004 at 10:01:32AM -0800, Snowy Wright wrote:
Is there a way to get the actual element contents as it exists in the file (i.e. &) through the libxml2 
API?

  No, because for example "&" and "&" have exactly the same 
internal representation. You cannot go back or guess. Since all
XML parsers tend to do the same, if you really require it the design
of the hash algorithm is totally broken XML wise.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
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]