Groups | Blog | Home
all groups > dotnet xml > october 2003 >

dotnet xml : Nillable Attribute Help Please



IcedCrow
10/4/2003 2:29:45 PM
Greetings,

I have a bit of XML I am looking at that puzzles me.

<s:element [max occurs, minoccurs info here]
name="MyElement" nillable="true"

This is where I am puzzled. I looked up "nillable" but
only got info on "nil"

Nil states that if set to true that the value can't have
content in it. If false the value must have content.

This guy was generated WSDL that refers to a function
that passes a parameter, where "MyElement" is the name of
the parameter. It is not optional and requires a value
(it is a string if that helps)

So what's the deal? I am confused... it has to have a
value but according to documentation nil set to true
means it can't have content.

Dare Obasanjo [MSFT]
10/4/2003 6:54:32 PM
You can read http://www.w3.org/TR/xmlschema-0/#ref20 for information about
nillable and xsi:nil

--
This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

AddThis Social Bookmark Button