Re: [xml] Help! Resolve Entities Problem
- From: Aleksey Sanin <aleksey aleksey com>
- To: Andrew Law <andrew law digeo com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: Re: [xml] Help! Resolve Entities Problem
- Date: Tue, 09 Apr 2002 00:51:48 -0700
Try to call
xmlSubstituteEntitiesDefault(1);
at the begginning of your program.
Aleksey.
Andrew Law wrote:
I am new to libxml and I am using the version that comes with linux 2.4.7
distribution. I try to parse an XML document with SAX interface, the XML
document contains entities such as (<, >, ', " and &),
what I should do to resolve these entities?
I have tried to implement the getEntity and return the value from calling
xmlGetPredefinedEntity, it didn't work. When I passed "apos" to
xmlGetPredefinedEntity, it returns "quot" in content field of the
xmlEntityPtr. Is there something wrong with the version I am using?
Thanks,
Andrew
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]