![]() ![]()
|
CREATE-NODE-NAMESPACE( ) method
Creates a namespace-aware XML node whose name can be either a single string
yor anx:ycombination.Note: To ensure consistency across all nodes in an XML document, use either the CREATE-NODE-NAMESPACE( ) method or the CREATE-NODE( ) method to build an XML document; do not use both methods within a single document.Return type: LOGICAL
Applies to: X-document object handle
x-node-handlenamespace-uri
A character expression representing the namespace Uniform Resource Identifier (URI). Thenamespace-urimust be unique and persistent. Although thenamespace-urimay be an HTTP URL, there is no guarantee that it points to a retrievable resource. It is only a name and care should be taken if you use this name for other purposes.If the character expression evaluates to either the empty string ("") or the Unknown value (?), no namespace is associated with the element.qualified-name
A character expression representing the name of the node, optionally qualified with a prefix including a colon (for example,prefix:node-name). Unless you are using a default namespace, a prefix is required and should be set to the prefix specified when you declared the namespace using the xmlns attribute.typeThe following code fragment illustrates how to create a namespace-aware node in an XML document using either a specific namespace or the default namespace:
![]() |
OpenEdge Release 10.2B
|
![]() ![]()
|