Top "Xml-nil" questions

About XML nil attributes

What is the correct way to represent null XML elements?

I have seen null elements represented in several ways: The element is present with xsi:nil="true": <book> &…

xml null xml-nil
What does i:nil="true" mean?

I have an xml and it has nodes with i:nil="true" in it. What does that mean? For example: &…

xml null xml-nil
What's the difference between <a_element /> and <a_element xsi:nil="true" />?

do you know if there's a difference between these tags on XML/XSD? <a_element /> and <a_…

xml xsi xml-nil
Extracting data from XML using OpenXML in SQL Server

I have a xml which I want it to be extracted using OpenXML within SQL Server Here is the sample …

sql sql-server tsql openxml xml-nil
java unmarshalling - NULL value or missing tag?

I have a nillable field in a class that is being set by the unmarshaller: @XmlElement(name = "value", nillable = true) …

java jaxb xml-nil
Selecting null value from XML in SQL Server

I'm trying to select from XML that has a null as one of the attributes. Instead of returning a null, …

sql-server xml null xml-nil
JAXB generate nillable = "true" from java

it this a bug? I need nillable = "true" in my xsd schema. The only way to generate such an element …

java jaxb xml-nil jaxbelement
Jaxb marshaller always writes xsi:nil (even when @XmlElement(required=false, nillable=true))

I have a java property annotated with @XmlElement(required=false, nillable=true). When the object is marshalled to xml, it …

jaxb marshalling xml-nil
Prevent <xsi:nil="true"> on Nullable Value Types when Serializing to XML

I have added some nullable value types to my serializable class. I perform a serialization using XmlSerializer but when the …

.net serialization xml-serialization xml-nil
How do I check if XML value is nil in XSLT

In an XML document I have some address data.. <zip>08001</zip> <zipPlus xsi:nil="true" /&…

xml xslt null xml-nil