DynamicDOM v0.43.2. Implementation based on XRules v0.43

XRulesContext.LookupNamespace Method 

Gets the namespace URI for the specified prefix.

[Visual Basic]
Overrides Public Function LookupNamespace( _ 
   ByVal prefix As String _ 
) As String
[C#]
public override string LookupNamespace(
   string prefix
);
[C++]
public: String* LookupNamespace(
   String* prefix
);
[JScript]
public override function LookupNamespace(
   String prefix
): String;

Parameters

prefix
The prefix whose namespace URI you want to resolve. To match the default namespace, pass String.Empty.

Return Value

Returns a namespace URI for 'prefix' or null if there is no mapped namespace. The return string is atomized.

Remarks

This function is very important to allow the XRulesContext to work properly when used in functions such as SelectNodes(). I found this workaround after very long debugging efforts at: http://www.tkachenko.com/blog/archives/000042.html

See Also

XRulesContext Class | XRules Namespace