[xml] Detecting empty nodes
- From: "neil scales" <neil scales googlemail com>
- To: xml gnome org
- Subject: [xml] Detecting empty nodes
- Date: Thu, 17 Apr 2008 09:56:42 +0100
Hi,
I've inherited a project that uses a wrapper around LibXml.
The wrapper includes code to show if a node is present, but it can't
detect empty nodes.
This means that the following 3 snippets all report no nodes.
<MyXml>
<default/>
</MyXml>
<MyXml>
<default></default>
</MyXml>
<MyXml>
</MyXml>
Is this a limitation with LibXml? Or (more likely) the wrapper?
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]