Muokkaa

Jaa


XmlAttribute.CreateNamespaceDeclaration(Text, Text) Method

Version: Available or changed with runtime version 1.0.

Creates an attribute that represents a namespace declaration.

Syntax

XmlAttribute :=   XmlAttribute.CreateNamespaceDeclaration(Prefix: Text, NamespaceUri: Text)

Parameters

Prefix
 Type: Text
The prefix of the attribute (if any).

NamespaceUri
 Type: Text
The URI of the attribute. If the prefix is xmlns, then this parameter must be http://www.w3.org/2000/xmlns/; otherwise an exception is thrown.

Return Value

XmlAttribute
 Type: XmlAttribute
The created XmlAttribute node.

XmlAttribute Data Type
Get Started with AL
Developing Extensions