diff options
Diffstat (limited to 'Doc/lib/xmldom.tex')
-rw-r--r-- | Doc/lib/xmldom.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/xmldom.tex b/Doc/lib/xmldom.tex index 317febb..5e9beaa 100644 --- a/Doc/lib/xmldom.tex +++ b/Doc/lib/xmldom.tex @@ -584,7 +584,7 @@ Set an attribute value from a string. \end{methoddesc} \begin{methoddesc}[Element]{setAttributeNode}{newAttr} -Add a new attibute node to the element, replacing an existing +Add a new attribute node to the element, replacing an existing attribute if necessary if the \member{name} attribute matches. If a replacement occurs, the old attribute node will be returned. If \var{newAttr} is already in use, \exception{InuseAttributeErr} will be @@ -592,7 +592,7 @@ raised. \end{methoddesc} \begin{methoddesc}[Element]{setAttributeNodeNS}{newAttr} -Add a new attibute node to the element, replacing an existing +Add a new attribute node to the element, replacing an existing attribute if necessary if the \member{namespaceURI} and \member{localName} attributes match. If a replacement occurs, the old attribute node will be returned. If \var{newAttr} is already in use, @@ -639,7 +639,7 @@ The length of the attribute list. Return an attribute with a particular index. The order you get the attributes in is arbitrary but will be consistent for the life of a DOM. Each item is an attribute node. Get its value with the -\member{value} attribbute. +\member{value} attribute. \end{methoddesc} There are also experimental methods that give this class more mapping |