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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 255
CHAPTER 9: Integrating XML into JavaScript XML Object Reference 256
Namespace object constructors
The Namespace constructor takes several forms:
new Namespace()
new Namespace (String uri)
new Namespace (QName prefix)
new Namespace (Namespace ns)
new Namespace (String prefix, String uri)
When no argument is supplied, creates a namespace with an empty prefix and URI.
Namespace object properties
uri
String Creates a Namespace object with an empty prefix and the given URI.
prefix
QName Creates a namespace with an empty prefix and the URI set to the URI of the
QName object
(if the QName object contains a URI).
ns
Namespace Creates a copy of the given Namespace object.
If the
Namespace() function is called without the new operator, and the only
argument is a
Namespace object, the function simply returns that object,
rather than creating a copy.
prefix,
uri
String Creates a Namespace object with the given prefix and the given URI.
prefix
String The element-name prefix associated with the namespace URI.
The prefix value can be
undefined, as when a specified prefix is not a valid XML
name. Namespaces with an undefined prefix are completely ignored; they are not
added to an XML namespace declaration.
uri
String The location of the namespace definition, a URI.
Vista de página 255
1 2 ... 251 252 253 254 255 256 257 258 259 260 261 ... 303 304

Comentários a estes Manuais

Sem comentários