EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Spezifikationen Seite 249

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 304
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 248
CHAPTER 9: Integrating XML into JavaScript XML Object Reference 249
contains()
xmlObj.contains (element);
element
An XML object.
Reports whether an element is contained in this node at any level of nesting.
Returns true if the element is contained in this XML tree.
copy()
xmlObj.copy();
Creates a copy of this node.
Returns the new XML object
.
descendants()
xmlObj.descendants ([name]);
name
Optional. A String, the element name to match. If not provided, matches all
elements.
Retrieves all descendent elements of this node of a given element type, or all XML-valued
descendants, at any level of nesting. Includes text elements.
Returns an XML object
containing properties for each descendant element.
elements()
xmlObj.elements (name);
name
Optional. A String, the element name to match. If not provided, matches all
elements.
Retrieves all of the immediate child elements of this node of the given type, or of all types. Does not
include text elements.
Returns an XML object
containing properties for each child element.
hasComplexContent()
xmlObj.hasComplexContent ();
Reports whether this node has complex content; that is, whether it contains child elements.
Disregards contents of other kinds, including attributes, comments, processing instructions and
text nodes.
Returns true if this node contains child elements.
hasSimpleContent()
xmlObj.hasSimpleContent ();
Reports whether this node has simple content; that is, whether it represents a text node, an
attribute node, or an element without child elements (regardless of whether it also contains
attributes, comments, processing instructions or text).
Object representing comments and processing instructions do not have simple content.
Returns true if this node contains no child elements.
Seitenansicht 248
1 2 ... 244 245 246 247 248 249 250 251 252 253 254 ... 303 304

Kommentare zu diesen Handbüchern

Keine Kommentare