W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: Accessing multivalued attributes

From: <keshlam@us.ibm.com>
Date: Fri, 25 Feb 2000 10:01:47 -0500
To: "'www-dom@w3.org'" <www-dom@w3.org>
Message-ID: <85256890.00528B4A.00@D51MTA03.pok.ibm.com>
> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT