[xml] xmlNodeGetContent() for XML_ENTITY_REF_NODE



Hello,

with regard to 
http://mail.gnome.org/archives/xml/2001-October/msg00160.html
i'm trying to collect the content of a XML_ELEMENT_NODE without
consider the child-XML_ELEMENT_NODEs.
I'm wondering if it's intended that 'xmlNodeGetContent(myNode)'
generally results 'NULL' if 'myNode' is a XML_ENTITY_REF_NODE?
And if so, what's the appropriate method to get the (expanded)
content of a  XML_ENTITY_REF_NODE?

Another point: I've debugged my code to see what happens
and found that a node with type XML_ENTITY_REF_NODE
holds the expanded entity in it's 'content' component,
although i've set 'xmlSubstituteEntitiesDefault(0)'.
Is this correct?


TIA, Markus
 <<Markus Henke.vcf>> 

Attachment: Markus Henke.vcf
Description: Binary data



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