Class DocumentBuilder
Class DomDestination
Class DynamicContext
Class DynamicError
Class EmptyEnumerator
Class ExtensionFunctionCall
Class NullDestination
Class Processor
Class QName
Class SchemaManager
Class SchemaValidator
Class Serializer
Class StaticContext
Class StaticError
Class TextWriterDestination
Class XPathCompiler
Class XPathExecutable
Class XPathSelector
Class XQueryCompiler
Class XQueryEvaluator
Class XQueryExecutable
Class XdmAnyFunctionType
Class XdmAnyItemType
Class XdmAnyNodeType
Class XdmAtomicType
Class XdmAtomicValue
Class XdmDestination
Class XdmEmptySequence
Class XdmItem
Class XdmItemType
Class XdmNode
Class XdmNodeKind
Class XdmSequenceType
Class XdmValue
Class XmlDestination
Class XsltCompiler
Class XsltExecutable
Class XsltTransformer
Enum RecoveryPolicy
Enum SchemaValidationMode
Enum TreeModel
Enum WhitespacePolicy
Enum XdmAxis
Interface IMessageListener
Interface IQueryResolver
Interface IResultDocumentHandler
Interface IXdmEnumerator
Interface IXmlLocation
Interface SchemaResolver
public class StaticContext
The class StaticContext
provides information about the static context of an expression
Property Summary | |
---|---|
Uri |
ModuleUri The URI of the module where an expression appears, suitable for use in diagnostics |
int |
LineNumber The line number within a module where an expression appears, suitable for use in diagnostics |
Uri |
BaseUri The static base URI of the expression. Often the same as the URI of the containing module, but not necessarily so, for example in a stylesheet that uses external XML entities or the xml:base attribute |
Method Summary | |
---|---|
String |
GetNamespaceForPrefix(string Prefix) Resolve an in-scope namespace prefix to obtain the corresponding namespace URI. If the prefix is a zero-length string, the default namespace for elements and types is returned. |
Property Detail |
---|
public Uri ModuleUri {get; }
The URI of the module where an expression appears, suitable for use in diagnostics
public int LineNumber {get; }
The line number within a module where an expression appears, suitable for use in diagnostics
public Uri BaseUri {get; }
The static base URI of the expression. Often the same as the URI of the containing module, but not necessarily so, for example in a stylesheet that uses external XML entities or the xml:base attribute
Method Detail |
---|
public String GetNamespaceForPrefix(string Prefix)
Resolve an in-scope namespace prefix to obtain the corresponding namespace URI. If the prefix is a zero-length string, the default namespace for elements and types is returned.
Parameters:Prefix
-