RAD Studio VCL Reference
|
Indicates the namespace prefix for the node.
property prefix: DOMString;
__property DOMString prefix;
Read prefix to determine the namespace prefix for an element or attribute node.
For element nodes, prefix is derived from the name that appears in the XML tag. For example, the prefix for <xsi:Name First=John Last=Doe> is 'xsi'.
For attribute nodes, prefix is derived from the string that appears to the left of the equals sign in the attribute declaration. For example, with the element <xsi:Name xsi:First=John xsi:Last=Doe>, both attribute nodes have the prefix of 'xsi'. Attribute nodes do not inherit a prefix value from the element node to which they are attached. For example, with the element <xsi:Name First=John Last=Doe>, both attributes have a prefix of nil (Delphi) or NULL (C++).
For any other node types, prefix is nil (Delphi) or NULL (C++).
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|