W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

Why is the value of an Attribute a Node?

From: Hank Davidson <hankd@corel.com>
Date: Fri, 15 May 1998 13:55:41 -0600
Message-ID: <355C9DBD.745CFEB9@corel.com>
To: www-dom@w3.org
The java interface for Document specifies that the arguments to the
createAttribute method are the name (a String) and a value (a Node).
Why is value a Node?  It seems inconsistent with the getValue method on
Attribute which returns a String, and the setAttribute method on Node
which takes a String for the value.
Received on Friday, 15 May 1998 15:55:46 GMT

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