Fabian,
One suggestion: As you know, tagName only returns the
same value as nodeValue does for elements... nodeValue
returns text for a textNode, whereas tagName would
return null. Event though these are descriptions for
elements, I think this could lead some readers to
believe that they always return the same value.
-Dylan
--- Fabian Guisset <[EMAIL PROTECTED]> wrote:
> Elements properties and methods reference:
>
> * tagName: returns the name of the element; same as
> nodeValue.
> * removeAttributeNode(): removes the specified
> attribute _node_ from the
> current element.
> * getElementsByTagName(): returns a list of nodes
> with the specified tag
> name, but restricted to the children of the current
> element
> * getAttributeNS(): returns the value of the
> attribute with the given
> name and the given namespace on the current element
> * setAttributeNS(): adds a new attribute or changes
> the value of an
> existing attribute with the given name and the given
> namespace on the
> current element
> * removeAttributeNS(): removes an attribute with the
> given name and the
> given namespace on the current element
> * getAttributeNodeNS(): returns the attribute node
> with the given name
> and the given namespace on the current element
> * setAttributeNodeNS(): adds a new attribute node or
> changes an existing
> attribute node with the given attribute node
> * getElementsByTagNameNS(): returns a list of nodes
> with the specified
> tag name and namespace, but restricted to the
> children of the current
> element
> * hasAttribute(): returns a boolean value indicating
> whether the current
> element has an attribute with the given name
> * hasAttributeNS(): returns a boolean value
> indicating whether the
> current element has an attribute with the given name
> and namespace
> * nextSibling: returns the node immediately next to
> the current node, if any
> * ownerDocument: returns the document to which the
> current element belongs
> * isSupported(): returns a boolean value indicating
> whether or not this
> element supports the given feature
> * hasAttributes(): returns a boolean value
> indicating whether or not
> this element has any attribute
> * baseURI (DOM3): returns the absolute base URI of
> the current element
> * lookupNameSpaceURI() (DOM3): Look up the namespace
> URI associated to
> the given prefix, starting from this node
> * lookupNameSpacePrefix() (DOM3): Look up the prefix
> associated to the
> given namespace URI, starting from this node
> (The following are only available to HTML elements)
> * id: returns the value of the id attribute of the
> current element
> * title: returns the value of the title attribute of
> the current element
> * lang: returns the value of the lang of the current
> element
> * dir: returns the directions of the text of the
> current element
> (right-to-left or left-to-right)
> * className: returns the value of the class
> attribute of the current element
>
> Phew that's it for now, more to come later (and hmm
> we're starting to
> implement DOM Level 3, so watch out for more new
> stuff soon ;-)
>
> -Fabian.
>
>
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com