Adobe InDesign CS4 (6.0) Object Model JS: XML

InDesign CS4

Class

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

Class

PropertyTypeAccessDescription
ignoreCommentsbool r/w
ignoreProcessingInstructionsbool r/w
ignoreWhitespacebool r/w
prettyIndentnumber r/w
prettyPrintingbool r/w

Methods

Class

Object defaultSettings ()

any setSettings ()

Object settings ()

Instances

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 ()

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

XML text ()

string toString ()

string toXMLString ()

XML xpath (expr: string)

ParameterTypeDescription
exprstring

Used in:

XML XML.appendChild (child: XML)

bool XML.contains (xml: XML)

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

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

XML XML.prependChild (value: XML)

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

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)

Jongware, 20-Jun-2010 v3.0.3dContents :: Index