The prefixes for namespaces are pulled from the XML datasource. The default namespace, if one exists, needs to be set. The default is def (ie /def:root/def:elem ).
Syntax
Visual Basic (Declaration) | |
---|
Public Sub setDefaultNamespacePrefix( _
ByVal prefix As String _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As XPathDataSource
Dim prefix As String
instance.setDefaultNamespacePrefix(prefix) |
Managed Extensions for C++ | |
---|
public: void setDefaultNamespacePrefix(
string* prefix
) |
Parameters
- prefix
- The prefix used for the default namespace in xpath selects.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family
See Also