[xml] DOM Parser + entities
- From: Murray Cumming Comneon com
- To: xml gnome org
- Subject: [xml] DOM Parser + entities
- Date: Wed, 15 Oct 2003 16:41:06 +0200
I'm using the DOM Parser, with replaceEntities=0 in the parser context, so
that the entity references appear in the tree instead of being resolved
automatically to text.
The entity reference node types are XML_ENTITY_REF_NODE, and, from looking
at the source code, the nodes seem to be plain xmlNodes and don't need to be
casted to any other struct type.
So, 2 questions:
1. What useful things can I discover about this node other than the name?
Maybe nothing. I'm clueless.
2. I notice that these Entity Reference nodes have children. The child node
types are XML_ENTITY_DECL, but I can't see any logic to it. Are these child
nodes useful/meaningful.
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]