ResolveXMLAttributeName()
语法
Result$ = ResolveXMLAttributeName(Node, Attribute$ [, Separator$])概要
Returns the expanded name of the given node's attribute in a document that uses XML namespaces. The expanded name consists of the namespace uri (if any) and the local attribute name, separated by the separator character given in 'Separator$'.
参数
Node The node to use. Attribute$ The attribute to resolve. Separator$ (optional) The separator to use when concatenating the namespace and the local attribute name. The default separator character is "/".
返回值
In a document using namespaces, returns the expanded name of the attribute if it could be correctly resolved or an empty string if a namespace prefix is used that is never declared (which is invalid).
In a document without namespaces, returns the attribute name itself.
Remarks
Note: Unlike with node names, the default namespace is not applied to attribute names that do not have a namespace prefix. So attribute names without a namespace prefix simply get their local name returned.
参阅
ResolveXMLNodeName()
已支持操作系统
所有