|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: explanation of a DTD
The element declaration for TAXCOUNTRYPROOFRECEIVED states that any occurence of the element in an XML document can contain character data only. The "e-dtype" attribute of the element TAXCOUNTRYPROOFRECEIVED is defined to be an NMTOKEN which can contain any name characters (See Nmtoken production in XML 1.0 spec. for the valid chars), and the "e-dtype" attribute is a "Fixed" attribute with default value "boolean". The #FIXED keyword states that the attribute must always have the default value. If a default value is declared, when an XML processor encounters an omitted attribute, it is to behave as though the attribute were present with the declared default value. Thanks, Indrajit Abhishek Srivastava wrote: > > Hi, > > I came across this particular element definition > > <!ELEMENT TAXCOUNTRYPROOFRECEIVED (#PCDATA )> > <!ATTLIST TAXCOUNTRYPROOFRECEIVED e-dtype NMTOKEN #FIXED 'boolean'> > > I'll be grateful if someone could explain it to me. > > regards, > Abhishek. > > *************************************************************************** > This is xml-dev, the mailing list for XML developers. > To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev > List archives are available at http://xml.org/archives/xml-dev/ > *************************************************************************** *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








