Re: [PHP4BETA] WDDX: Comments in the header
| From: | Tobias Ratschiller | Date: | Mon, 28 Feb 2000 17:10:53 +0000 |
| Subject: | Re: [PHP4BETA] WDDX: Comments in the header | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11147@lists.php.net to get a copy of this message | ||
> > The current 1.0a version of the DTD has:
> > <!ELEMENT header (comment?)>
> > <!ELEMENT comment (#PCDATA)>
> >
> I'm not too familiar with DTDs, but are you sure about this? In their
> example, header is written as <header/> and they don't even show
> comment. Please find out for sure so that I can change it if necessary.
(comment?) means that the comment element can be left out or occur exactly
one time. If it doesn't occur, header is an empty element and can be written
as <header></header> or in the short form of <header/>.
-Tobias