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

Re: Accessing multivalued attributes

From: David Brownell <david-b@pacbell.net>
Date: Fri, 25 Feb 2000 07:09:28 -0800
Message-ID: <38B69B28.3D5E9074@pacbell.net>
To: Wachter Stefan <SWachter@heyde.de>
Cc: "'www-dom@w3.org'" <www-dom@w3.org>
Wachter Stefan wrote:
> 
> 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.  But then you also had to discover its type was NMTOKENS by yourself
too, so at least it's consistent in that ... :-)

- Dave
Received on Friday, 25 February 2000 10:10:11 GMT

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