EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 250

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 249
CHAPTER 9: Integrating XML into JavaScript XML Object Reference 250
inScopeNamespaces()
xmlObj.inScopeNamespaces ();
Retrieves the current list of valid namespaces in this element.
Returns an Array of Namespace object
s, in which the last member is the default namespace.
insertChildAfter()
xmlObj.insertChildAfter (child1, child2);
child1
An XML object, the existing child element after which to place the new child, or null
to insert the new child at the beginning.
child2
An XML object, the new child element, or any value that can be converted to a String
with
toString().
Inserts a new child element or text node into this node, after another existing child element. If the
relative element is not currently in this node, does not insert the new child.
Returns this XML object
.
insertChildBefore()
xmlObj.insertChildBefore (child1, child2);
child1
An XML object, the existing child element before which to place the new child, or
null to insert the new child at the end.
child2
An XML object, the new child element, or any value that can be converted to a String
with
toString().
Inserts a new child element or text node into this node, before another existing child element. If the
relative element is not currently in this node, does not insert the new child.
Returns this XML object
.
length()
xmlObj.length ();
Reports the number of child elements contained in this node. The minimum number is 1, the
element that this object represents.
Returns a Number.
localName()
xmlObj.localName ();
Retrieves the local name of this element; that is, the element name, without any namespace prefix.
Returns a String.
name()
xmlObj.name ();
Retrieves the full name of this element, with the namespace information.
Returns a QName object
containing the element name and namespace URI.
Vista de página 249
1 2 ... 245 246 247 248 249 250 251 252 253 254 255 ... 303 304

Comentários a estes Manuais

Sem comentários