I have work to do, but thanks for re-stating what I said in the below mail. 

-----Original Message-----
From: Jonathan Borden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 07, 2000 3:32 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Empty data, tags and XML


"
> > The tag is mandatory if the document is being validated against a DTD.
In
> > that case you can use the empty element tag ex. <DATE/>
"

To be clear, mandatory is *your* word. The question was regarding the
validity of omitting an empty element. Tags are not mandatory merely because
the document is being validated against a DTD, rather if and only if the DTD
declares the tag as mandatory.



> Yes, you can also change the sequence of the elements, number of
> occurrences, etc. in the DTD, but if the element is declared as a
mandatory
> element in the DTD, the tag must be present, whether or not it contains
data
> is irrelevant.
>

>
>
> [EMAIL PROTECTED] wrote:
>
> > The tag is mandatory if the document is being validated against a DTD.
In
> > that case you can use the empty element tag ex. <DATE/>
> >
> Actually in  a DTD one can specify an optional element
(DATE?,TIME?,PLACE).
>
> Jonathan Borden
> The Open Healthcare Group
> http://www.openhealth.org
>


------   XML/edi Group Discussion List   ------
Homepage =  http://www.XMLedi-Group.org

Unsubscribe =  send email to: [EMAIL PROTECTED]
Leave the subject and body of the message blank

Questions/requests:  [EMAIL PROTECTED]

To receive only one message per day (digest format) 
send the following message to [EMAIL PROTECTED], 
(leave the subject line blank) 

digest xmledi-group your-email-address

To join the XML/edi Group complete the form located at:
http://www.xmledi-group.org/xmledigroup/mail1.htm


Reply via email to