[libxml++] parse_memory



Hi all

I try to parse a string:

lQuery = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><envelope name=\"getSeed\"><body><getSeed/></body></envelope>";
DomParser lParser;
lParser.set_validate();
lParser.set_substitute_entities();
lParser.parse_memory(lQuery);
lXmlDocRes = lParser.get_document();

It do not work. Can you help?
What's wrong?

Minggi





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