Re: [xml] Detecting empty nodes
- From: Jason Viers <lists beanalby net>
- To: xml gnome org
- Subject: Re: [xml] Detecting empty nodes
- Date: Thu, 17 Apr 2008 09:49:43 -0400
neil scales wrote:
<MyXml>
<default/>
</MyXml>
<MyXml>
<default></default>
These are identical, by the definition of XML. There is no way to
detect the difference between the two, nor should there be.
<MyXml>
</MyXml>
default's lack of presence IS significant with XML, and libxml can
detect this - it's a limitation of the wrapper.
Jason
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]