Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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?


I agree. Here's the link:
subject: NMTOKENS as element's datatype
It's not a secret anymore!