File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes NMTOKENS as element's datatype Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "NMTOKENS as element Watch "NMTOKENS as element New topic

NMTOKENS as element's datatype

Sudhanshu Mishra
Ranch Hand

Joined: May 28, 2011
Posts: 235

Hi all,
I read in RMH book that attributes only can be of NMTOKEN type,but i tried on eclipse xml editor with elements ,and elements could also have NMTOKENS type as their data type.
Is the fact correct that only attributes can have NMTOKENS data type?


Don't get me started about those stupid light bulbs.
subject: NMTOKENS as element's datatype
jQuery in Action, 3rd edition