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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 251
CHAPTER 9: Integrating XML into JavaScript XML Object Reference 252
processingInstructions()
xmlObj.processingInstructions ([name]);
name
A String, the name of a processing instruction, or null to get all processing
instructions.
Retrieves processing instructions contained in this node.
Returns an XML object
containing the children of this object that are processing instructions,
matching the name if supplied.
replace()
xmlObj.replace (name, value);
name
An element or attribute name, with or without the 0-based position index of a
specific element, or the wildcard string
“*”.
X If no position index is supplied, replaces the value of all matching elements.
X If the wildcard is supplied, replaces the value of all contained elements. When an
element contain subelements, those are removed, and only the replacement
value remains.
value
An XML object or any value that can be converted to a String with toString().
Replaces one or more property values in this node.
If the named element does not exist, appends the given value as a text element.
Returns this XML object
.
setChildren()
xmlObj.setChildren (value);
value
An XML object or any value that can be converted to a String with toString().
Replaces all of the XML-valued properties in this object with a new value, which can be a simple text
element, or can contain another set of XML properties.
Returns this XML object
.
setLocalName()
xmlObj.setLocalName(name);
name
A String, the new name.
Replaces the local name of this object; that is, the element name without any namespace prefix.
Returns this XML object
.
setName()
xmlObj.setName(name);
name
A String, the new name.
Replaces the full name of this object; that is, the element name and its namespace prefix.
Returns this XML object
.
Vista de página 251
1 2 ... 247 248 249 250 251 252 253 254 255 256 257 ... 303 304

Comentários a estes Manuais

Sem comentários