Comme annoncé dans mon article précédent, voici les fonctions dédiées à XML via E4X dans Javascript 1.6.
- addNamespace(namespaceToAdd)
- appendChild(childToAppend)
- attribute(attributeName)
- attributes()
- child(childPropertyName)
- childIndex()
- children()
- comments()
- contains(value)
- copy()
- descendants([name])
- elements([name])
- hasComplexContent()
- hasOwnProperty(propertyName)
- hasSimpleContent()
- inScopeNamespaces()
- insertChildAfter(childToInsertAfter, childToInsert)
- insertChildBefore(childToInsertBefore, childToInsert)
- length()
- localName()
- name()
- namespace([prefix])
- namespaceDeclarations()
- nodeKind()
- normalize()
- parent()
- prependChild(childToPrepend)
- processingInstructions([name])
- propertyIsEnumerable(propertyName)
- removeNamespace(namespace)
- replace(propertyName, replacementValue)
- setChildren(value)
- setLocalName(name)
- setName(name)
- setNamespace(namespace)
- text()
- toString()
- toXMLString()
- valueOf()
Vous trouverez cette liste sur http://www.faqts.com/knowledge_base/view.phtml/aid/35323/fid/1762