OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Question on Allowing null values iin DTD

[ Lists Home | Date Index | Thread Index ]

> How can I declare that element in DTD allows null values?

You can represent absent data using an absent element, or using an element
with no content.

You can also represent it using the xsi:nil attribute if you really want
(but no-one does).

It's up to you.

Michael Kay
http://www.saxonica.com/






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS