Windward Engine API Reference
setDefaultNamespacePrefix Method
See Also  Send comments on this topic.
WindwardReportsDrivers.net.windward.datasource.xml Namespace > XPathDataSource Class : setDefaultNamespacePrefix Method




prefix
The prefix used for the default namespace in xpath selects.

Glossary Item Box

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)
C# 
public void setDefaultNamespacePrefix( 
   string prefix
)
Managed Extensions for C++ 
public: void setDefaultNamespacePrefix( 
   string* prefix
) 
C++/CLI 
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

© 2019 All Rights Reserved.