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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   When to use NMTOKEN, CDATA attributes?

[ Lists Home | Date Index | Thread Index ]
  • From: "Amit Rekhi" <amitr@abinfosys.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Thu, 27 Jan 2000 17:55:23 +0530


Hi!

When designing a DTD, while deciding the attribute value types
when should one use a CDATA attribute type and when to use
a NMTOKEN attribute type?

Syntactically looking at the production rules, the difference is clear
But, semantically when should one use one over the other? Why?

Thanks in advance for any replies,

Amit Rekhi,
Software Engineer,
A.B. Infosys Private Limited,
B-102, Gulmohar Park,
New Delhi - 110049,
INDIA.
Tel: +91-11-6512816,6512822,6968976
Fax: +91-11-6518873
Website: http://www.abinfosys.com
EMail: amit@abinfosys.com

Note: Not related to Infosys Technologies Limited





xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom@ic.ac.uk the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.






 

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

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