Re: Accessing multivalued attributes

> can anyone tell me the right way to process multivalued attributes? I
have
> a DTD which specifies an attribute as type NMTOKENS. In the dom-tree I
get
> only a single string containing the NMTOKENS separated by spaces. Do I
have
> to parse this string by myself if I want to access the single NMTOKENS?

Yes, you have to parse the string yourself. Future versions of the DOM may
or may not provide additional assistance.


______________________________________
Joe Kesselman  / IBM Research

Received on Friday, 25 February 2000 10:02:01 UTC