MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 195

Server-side actionscript language reference
Table of Contents

Advertisement

See also
,
XML.nodeName
XML.prefix
XML.namespaceURI
Availability
Flash Media Server 2.
Usage
my_xml.namespaceURI
Description
Property (read-only); if the XML node has a prefix,
declaration for that prefix (the URI), which is typically called the namespace URI. The xmlns
declaration is in the current node or in a node higher in the XML hierarchy.
If the XML node does not have a prefix, the value of the
whether there is a default namespace defined (as in xmlns="http://www.example.com/"). If
there is a default namespace, the value of the
default namespace. If there is no default namespace, the
node is an empty string (
You can use the
XML.getNamespaceForPrefix()
associated with a specific prefix. The
with the node name.
Example
The following example shows how the
prefixes. The XML file used in the example is named SoapSample.xml and contains the
following tags:
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope">
<soap:Body xmlns:w="http://www.example.com/weather">
<w:GetTemperature>
<w:City>San Francisco</w:City>
</w:GetTemperature>
</soap:Body>
</soap:Envelope>
namespaceURI
).
""
namespaceURI
namespaceURI
is the value of the xmlns
namespaceURI
namespaceURI
property is the value of the
namespaceURI
method to identify the namespace
property returns the prefix associated
property is affected by the use of
property depends on
property for that
XML class
195

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents