{div:style=display:none} DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR{div} {div:id=description}{div}\\ {table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[Boolean]{td}{td}[#ignoreComments] If set to true, then comments in the XML are ignored when constructing new XML objects.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#ignoreProcessingInstructions] If set to true, then processing instructions are ignored when constructing new XML objects.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#ignoreWhitespace] If set to true, then whitespace in the XML is ignored when constructing new XML objects.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#prettyIndent] The amount of positions used when indenting child nodes are relative to their parent if prettyPrinting is enabled.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#prettyPrinting] If set to true, then toString() and toXMLString() methods will normalize the output to achieve a uniform appearance.{td}{tr}{tbody}{table}\\ {table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[XML]{td}{td}[#addNamespace]\(namespaceToAdd) Takes one argument which can be a string with a namespace URI or a Namespace object and adds the argument to the in scope namespaces of this XML object.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#appendChild]\(childToAppend) Appends a new child at the end of this XML object's properties, the changed XML object is then returned.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#attribute]\(attributeName) Takes a single argument with the attribute name and returns an XMLList with attributes matching the argument.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#attributes]\() Returns an XMLList with the attributes of this XML object which are in no namespace.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#child]\(propertyName) Returns an XMLList with children matching the property name.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#childIndex]\() If the XML object has no parent then the special number NaN is returned, otherwise the ordinal position the object has in the context of its parent is returned.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#children]\() Returns an XMLList with the child nodes of this XML object.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#comments]\() Returns an XMLList with the comment nodes which are children of this XML object.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#contains]\(value) Calling xmlObject.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#copy]\() Returns a deep copy of the XML object it is called on where the internal parent property is set to null{td}{tr}{tbody}{tbody}{tr}{td}[Object]{td}{td}[#defaultSettings]\() Returns an object containing the default XML settings.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#descendants]\() Returns an XMLList with the descendants matching the passed name argument or with all descendants if no argument is passed.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#descendants]\(name) Returns an XMLList with the descendants matching the passed name argument or with all descendants if no argument is passed.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#elements]\() Takes one optional argument, the name of elements you are looking for, and returns an XMLList with all matching child elements.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#elements]\(name) Takes one optional argument, the name of elements you are looking for, and returns an XMLList with all matching child elements.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#hasComplexContent]\() Returns false for XML objects of node kind 'text', 'attribute', 'comment', and 'processing\-instruction'.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#hasOwnProperty]\(propertyName) Returns true if the XML object the method is called on has a property of that name.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#hasSimpleContent]\() Returns true for XML objects of node kind text or attribute.{td}{tr}{tbody}{tbody}{tr}{td}[Array]{td}{td}[#inScopeNamespaces]\() Returns an array of Namespace objects representing the namespace that are in scope for this XML object.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#insertChildAfter]\(childToInserAfter, childToInsert) Takes two arguments, an existing child to insert after and the new child to be inserted.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#insertChildBefore]\(childToInsertBefore, childToInsert) Takes two arguments, an existing child to insert before and the new child to be inserted.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#length]\() This always returns 1.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#localName]\() returns the local name part if the XML object has a name.{td}{tr}{tbody}{tbody}{tr}{td}[QName]{td}{td}[#name]\() Returns the qualified name (a QName object) of the XML object it is called{td}{tr}{tbody}{tbody}{tr}{td}[Namespace]{td}{td}[#namespace]\() If no argument is passed to the method then it returns the namespace associated with the qualified name of this XML object.{td}{tr}{tbody}{tbody}{tr}{td}[Namespace]{td}{td}[#namespace]\(prefix) If no argument is passed to the method then it returns the namespace associated with the qualified name of this XML object.{td}{tr}{tbody}{tbody}{tr}{td}[Array]{td}{td}[#namespaceDeclarations]\() Returns an array with the namespace declarations associated with the XML object it is called on.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#nodeKind]\() Returns a string denoting the kind of node this XML object represents.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#normalize]\() Returns this XML object after normalizing all text content.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#parent]\() Returns the parent XML object of this XML object or null if there is no parent.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#prependChild]\(childToPrepend) Iinserts the given value as the first child of the XML object and returns the XML object.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#processingInstructions]\() If no argument is passed in then the method returns an XMLList with all the children of the XML object which are processing instructions.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#processingInstructions]\(name) If no argument is passed in then the method returns an XMLList with all the children of the XML object which are processing instructions.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#propertyIsEnumerable]\(propertyName) Returns true if the property name is '0' and false otherwise.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#removeNamespace]\(namespace) Removes the namespace from the in scope namespaces of this XML object if the namespace is not used for the qualified name of the object or its attributes.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#replace]\(propertyName, replacementValue) Takes two arguments, the property name of the property / properties to be replaced, and the value to replace the properties.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#setChildren]\(value) Replaces all children of the XML object with this value.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setLocalName]\(name) Changes the local name of this XML object to the name passed in.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setName]\(name) Replaces the name of this XML object with the name passed in.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setNamespace]\(namespace) Changes the namespace associated with the name of this XML object to the new namespace.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setSettings]\() Allows the global XML settings to be adjusted or restored to their default values.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setSettings]\(settings) Allows the global XML settings to be adjusted or restored to their default values.{td}{tr}{tbody}{tbody}{tr}{td}[Object]{td}{td}[#settings]\() Returns an object containing the global XML settings.{td}{tr}{tbody}{tbody}{tr}{td}[XMLList]{td}{td}[#text]\() Returns an XMLList with all the children of this XML object that represent text nodes.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toString]\() Returns a convenient string value of this XML object.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toXMLString]\() Returns a string with the serialized XML markup for this XML object.{td}{tr}{tbody}{tbody}{tr}{td}[XML]{td}{td}[#valueOf]\() The method simply returns the XML object it is called on.{td}{tr}{tbody}{table}\\ {table:id=property|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=ignoreComments}{tr:id=name}{td}h6.ignoreComments{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} var element = <foo><!-- my comment --><bar/></foo>; application.output(element.comments().length()); application.output(element.toXMLString()); XML.ignoreComments = false; element = <foo><!-- my comment --><bar/></foo>; application.output(element.comments().length()); application.output(element.toXMLString()); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=ignoreProcessingInstructions}{tr:id=name}{td}h6.ignoreProcessingInstructions{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} XML.ignoreProcessingInstructions=false; var xmlElement = <publishing><?process author="yes"?><author type="leadership">John C. Maxwell</author></publishing>; application.output(" Element = "+ xmlElement.toXMLString()); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=ignoreWhitespace}{tr:id=name}{td}h6.ignoreWhitespace{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} XML.ignoreWhitespace = false; var xmlElement = <publishing> <author>John C. Maxwell</author> </publishing>; application.output(xmlElement.toString()); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=prettyIndent}{tr:id=name}{td}h6.prettyIndent{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} var xmlElement = <publishing><author>Tom DeMarco</author><author>Roger S. Pressman</author></publishing>; application.output(xmlElement.toXMLString()); XML.prettyPrinting = true; XML.prettyIndent = 4; xmlElement = <publishing><author>Tom DeMarco</author><author>Roger S. Pressman</author></publishing>; application.output(xmlElement.toXMLString()); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=prettyPrinting}{tr:id=name}{td}h6.prettyPrinting{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} var xmlElement = <publishing><author>Tom DeMarco</author><author>Roger S. Pressman</author></publishing>; application.output(xmlElement.toXMLString()); XML.prettyPrinting = true; XML.prettyIndent = 4; xmlElement = <publishing><author>Tom DeMarco</author><author>Roger S. Pressman</author></publishing>; application.output(xmlElement.toXMLString()); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ {table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=addNamespace-String}{tr:id=name}{td}h6.addNamespace{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}addNamespace{span}{span}\(namespaceToAdd){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} namespaceToAdd {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.addNamespace(namespaceToAdd) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=appendChild-XML}{tr:id=name}{td}h6.appendChild{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}appendChild{span}{span}\(childToAppend){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[XML]} childToAppend {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.appendChild(childToAppend) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=attribute-String}{tr:id=name}{td}h6.attribute{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}attribute{span}{span}\(attributeName){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} attributeName {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.attribute(attributeName) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=attributes}{tr:id=name}{td}h6.attributes{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}attributes{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.attributes() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=child-String}{tr:id=name}{td}h6.child{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}child{span}{span}\(propertyName){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} propertyName {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.child(childPropertyName) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=childIndex}{tr:id=name}{td}h6.childIndex{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}childIndex{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.childIndex() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=children}{tr:id=name}{td}h6.children{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}children{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.children() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=comments}{tr:id=name}{td}h6.comments{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}comments{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.comments() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=contains-Object}{tr:id=name}{td}h6.contains{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Boolean]{span}{span:style=font-weight: bold;}contains{span}{span}\(value){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Object]} value {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.contains(value) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=copy}{tr:id=name}{td}h6.copy{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}copy{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.copy() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=defaultSettings}{tr:id=name}{td}h6.defaultSettings{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Object]{span}{span:style=font-weight: bold;}defaultSettings{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Object]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.defaultSettings() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=descendants}{tr:id=name}{td}h6.descendants{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}descendants{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.descendants([name]) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=descendants-String}{tr:id=name}{td}h6.descendants{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}descendants{span}{span}\(name){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} name {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.descendants([name]) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=elements}{tr:id=name}{td}h6.elements{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}elements{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.elements([name]) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=elements-String}{tr:id=name}{td}h6.elements{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}elements{span}{span}\(name){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} name {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.elements([name]) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=hasComplexContent}{tr:id=name}{td}h6.hasComplexContent{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Boolean]{span}{span:style=font-weight: bold;}hasComplexContent{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.hasComplexContent() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=hasOwnProperty-String}{tr:id=name}{td}h6.hasOwnProperty{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Boolean]{span}{span:style=font-weight: bold;}hasOwnProperty{span}{span}\(propertyName){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} propertyName {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.hasOwnProperty(propertyName) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=hasSimpleContent}{tr:id=name}{td}h6.hasSimpleContent{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Boolean]{span}{span:style=font-weight: bold;}hasSimpleContent{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.hasSimpleContent() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=inScopeNamespaces}{tr:id=name}{td}h6.inScopeNamespaces{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Array]{span}{span:style=font-weight: bold;}inScopeNamespaces{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Array]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.inScopeNamespaces() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=insertChildAfter-XML_XML}{tr:id=name}{td}h6.insertChildAfter{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}insertChildAfter{span}{span}\(childToInserAfter, childToInsert){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[XML]} childToInserAfter \{[XML]} childToInsert {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.insertChildAfter(childToInsertAfter, childToInsert) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=insertChildBefore-XML_XML}{tr:id=name}{td}h6.insertChildBefore{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}insertChildBefore{span}{span}\(childToInsertBefore, childToInsert){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[XML]} childToInsertBefore \{[XML]} childToInsert {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.insertChildBefore(childToInsertBefore, childToInsert) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=length}{tr:id=name}{td}h6.length{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}length{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.length() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=localName}{tr:id=name}{td}h6.localName{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}localName{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.localName() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=name}{tr:id=name}{td}h6.name{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[QName]{span}{span:style=font-weight: bold;}name{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[QName]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.name() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=namespace}{tr:id=name}{td}h6.namespace{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Namespace]{span}{span:style=font-weight: bold;}namespace{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Namespace]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.namespace([prefix]) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=namespace-String}{tr:id=name}{td}h6.namespace{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Namespace]{span}{span:style=font-weight: bold;}namespace{span}{span}\(prefix){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} prefix {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Namespace]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.namespace([prefix]) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=namespaceDeclarations}{tr:id=name}{td}h6.namespaceDeclarations{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Array]{span}{span:style=font-weight: bold;}namespaceDeclarations{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Array]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.namespaceDeclarations() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=nodeKind}{tr:id=name}{td}h6.nodeKind{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}nodeKind{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.nodeKind() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=normalize}{tr:id=name}{td}h6.normalize{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}normalize{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.normalize() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=parent}{tr:id=name}{td}h6.parent{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}parent{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.parent() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=prependChild-XML}{tr:id=name}{td}h6.prependChild{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}prependChild{span}{span}\(childToPrepend){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[XML]} childToPrepend {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.prependChild(childToPrepend) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=processingInstructions}{tr:id=name}{td}h6.processingInstructions{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}processingInstructions{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.processingInstructions([name]) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=processingInstructions-String}{tr:id=name}{td}h6.processingInstructions{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}processingInstructions{span}{span}\(name){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} name {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.processingInstructions([name]) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=propertyIsEnumerable-String}{tr:id=name}{td}h6.propertyIsEnumerable{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Boolean]{span}{span:style=font-weight: bold;}propertyIsEnumerable{span}{span}\(propertyName){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} propertyName {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.propertyIsEnumerable(propertyName) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=removeNamespace-Namespace}{tr:id=name}{td}h6.removeNamespace{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}removeNamespace{span}{span}\(namespace){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Namespace]} namespace {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.removeNamespace(namespace) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=replace-String_XML}{tr:id=name}{td}h6.replace{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}replace{span}{span}\(propertyName, replacementValue){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} propertyName \{[XML]} replacementValue {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.replace(propertyName, replacementValue) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setChildren-Object}{tr:id=name}{td}h6.setChildren{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}setChildren{span}{span}\(value){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Object]} value {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.setChildren(value) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setLocalName-String}{tr:id=name}{td}h6.setLocalName{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setLocalName{span}{span}\(name){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} name {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.setLocalName(name) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setName-String}{tr:id=name}{td}h6.setName{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setName{span}{span}\(name){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} name {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.setName(name) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setNamespace-Namespace}{tr:id=name}{td}h6.setNamespace{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setNamespace{span}{span}\(namespace){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Namespace]} namespace {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.setNamespace(namespace) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setSettings}{tr:id=name}{td}h6.setSettings{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setSettings{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.setSettings(settings) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setSettings-Object}{tr:id=name}{td}h6.setSettings{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setSettings{span}{span}\(settings){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Object]} settings -- The new settings that should be applied globally to the XML object. {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.setSettings(settings) {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=settings}{tr:id=name}{td}h6.settings{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Object]{span}{span:style=font-weight: bold;}settings{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Object]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.settings() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=text}{tr:id=name}{td}h6.text{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XMLList]{span}{span:style=font-weight: bold;}text{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XMLList]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.text() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toString}{tr:id=name}{td}h6.toString{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toString{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.toString() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toXMLString}{tr:id=name}{td}h6.toXMLString{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toXMLString{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.toXMLString() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=valueOf}{tr:id=name}{td}h6.valueOf{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[XML]{span}{span:style=font-weight: bold;}valueOf{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[XML]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} xml.valueOf() {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table} |