[xml] Help! Resolve Entities Problem



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





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