CS3 JS: XML

CS3 JavaScript

XML

QuickLinks

addNamespace, appendChild, attribute, attributes, child, childIndex, children, comments, contains, copy, defaultSettings, descendants, elements, hasComplexContent, hasOwnProperty, hasSimpleContent, inScopeNamespaces, insertChildAfter, insertChildBefore, length, localName, name, namespace, namespaceDeclarations, nodeKind, normalize, parent, prependChild, processingInstructions, propertyIsEnumerable, removeNamespace, replace, setChildren, setLocalName, setName, setNamespace, setSettings, settings, text, toString, toXMLString, xpath

Properties

PropertyTypeAccessDescription
ignoreCommentsboolr/w
ignoreProcessingInstructionsboolr/w
ignoreWhitespaceboolr/w
prettyIndentnumberr/w
prettyPrintingboolr/w

Methods

void addNamespace (namespace:Namespace)

ParameterTypeDescription
namespaceNamespace

XML appendChild (child:XML)

ParameterTypeDescription
childXML

XML attribute (name:string)

ParameterTypeDescription
namestring

XML attributes ()

XML child (name:string)

ParameterTypeDescription
namestring

number childIndex ()

XML children ()

XML comments ()

bool contains (xml:XML)

ParameterTypeDescription
xmlXML

XML copy ()

Object defaultSettings ()

XML descendants (name:string)

ParameterTypeDescription
namestring

XML elements (name:string)

ParameterTypeDescription
namestring

bool hasComplexContent (name:string)

ParameterTypeDescription
namestring

XML hasOwnProperty (name:string)

ParameterTypeDescription
namestring

bool hasSimpleContent ()

Array inScopeNamespaces ()

void insertChildAfter (child1:XML, child2:XML)

ParameterTypeDescription
child1XML
child2XML

void insertChildBefore (child1:XML, child2:XML)

ParameterTypeDescription
child1XML
child2XML

number length ()

string localName ()

QName name ()

Namespace namespace ()

Array namespaceDeclarations ()

string nodeKind ()

XML normalize ()

XML parent ()

XML prependChild (value:XML)

ParameterTypeDescription
valueXML

XML processingInstructions (name:string)

ParameterTypeDescription
namestring

bool propertyIsEnumerable (name:string)

ParameterTypeDescription
namestring

XML removeNamespace (namespace:Namespace)

ParameterTypeDescription
namespaceNamespace

XML replace (name:string, value:XML)

ParameterTypeDescription
namestring
valueXML

XML setChildren (children:XML)

ParameterTypeDescription
childrenXML

void setLocalName (name:string)

ParameterTypeDescription
namestring

void setName (name:QName)

ParameterTypeDescription
nameQName

void setNamespace (namespace:Namespace)

ParameterTypeDescription
namespaceNamespace

any setSettings ()

Object settings ()

XML text ()

string toString ()

string toXMLString ()

XML xpath (expr:string)

ParameterTypeDescription
exprstring

Used in

XML.appendChild (child:XML)

XML.contains (xml:XML)

XML.insertChildAfter (child1:XML, child2:XML)

XML.insertChildAfter (child1:XML, child2:XML)

XML.insertChildBefore (child1:XML, child2:XML)

XML.insertChildBefore (child1:XML, child2:XML)

XML.prependChild (value:XML)

XML.replace (name:string, value:XML)

XML.setChildren (children:XML)

Return

XML Dictionary.toXML (prefix:string)

XML Reflection.toXML ()

XML XML.appendChild (child:XML)

XML XML.attribute (name:string)

XML XML.attributes ()

XML XML.child (name:string)

XML XML.children ()

XML XML.comments ()

XML XML.copy ()

XML XML.descendants (name:string)

XML XML.elements (name:string)

XML XML.hasOwnProperty (name:string)

XML XML.normalize ()

XML XML.parent ()

XML XML.prependChild (value:XML)

XML XML.processingInstructions (name:string)

XML XML.removeNamespace (namespace:Namespace)

XML XML.replace (name:string, value:XML)

XML XML.setChildren (children:XML)

XML XML.text ()

XML XML.xpath (expr:string)

Contents :: Index