Thanks for Martin's informative inputs.
Hi Reuven,
The nillable="true" and xsi:nil="true" is the standard approach to mark
an element as null value in XML document. However, for your scenario, if
you want the element always be null value(actually it is called an empty
element), we still need to use the complex type definition to restrict the
type's content. In addition to the means you currently use, you can also
have a look at the following article which mentioned some other definition
for empty element in XSD:
#XSD Complex Empty Elements
http://www.w3schools.com/schema/sche...plex_empty.asp
Hope this also helps some.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)