nil is an attribute defined in the namespace i . For this, the FirstName node attribute is true .
It looks like this, just with different names and meanings:
<form name="test">...
Here, form is the name of the node, similar to FirstName from your code, and name is the attribute with the value "test", similar to your attribute nil with the value "true".
What this means depends on the application reading the XML document.
If I dared to suggest, I would say that it looks like part of an XML document defining some kind of schema, and that the FirstName field can be NULL or nil , that is, empty or unknown.
Lasse Vågsæther Karlsen Jan 21 '09 at 0:00 a.m. 2009-01-21 00:00
source share