Show / Hide Table of Contents

Class CldrContext

The execution context for XPath.

Inheritance
Object
XmlNamespaceManager
XsltContext
CldrContext
Implements
IXmlNamespaceResolver
IEnumerable
Inherited Members
XmlNamespaceManager.PushScope()
XmlNamespaceManager.PopScope()
XmlNamespaceManager.AddNamespace(String, String)
XmlNamespaceManager.RemoveNamespace(String, String)
XmlNamespaceManager.GetEnumerator()
XmlNamespaceManager.GetNamespacesInScope(XmlNamespaceScope)
XmlNamespaceManager.LookupNamespace(String)
XmlNamespaceManager.LookupPrefix(String)
XmlNamespaceManager.HasNamespace(String)
XmlNamespaceManager.NameTable
XmlNamespaceManager.DefaultNamespace
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sepia.Globalization
Assembly: Sepia.Globalization.dll
Syntax
public class CldrContext : XsltContext, IXmlNamespaceResolver, IEnumerable
Remarks

Allows XPath to resolve functions, parameters, and namespaces within XPath expressions.

FunctionUsage
cldr:contains-codecode[cldr:contains-code(., 'x')]

Fields

| Improve this Doc View Source

Default

The default XPath context.

Declaration
public static CldrContext Default
Field Value
Type Description
CldrContext

Properties

| Improve this Doc View Source

Whitespace

Declaration
public override bool Whitespace { get; }
Property Value
Type Description
Boolean
Overrides
XsltContext.Whitespace

Methods

| Improve this Doc View Source

CompareDocument(String, String)

Declaration
public override int CompareDocument(string baseUri, string nextbaseUri)
Parameters
Type Name Description
String baseUri
String nextbaseUri
Returns
Type Description
Int32
Overrides
XsltContext.CompareDocument(String, String)
| Improve this Doc View Source

PreserveWhitespace(XPathNavigator)

Declaration
public override bool PreserveWhitespace(XPathNavigator node)
Parameters
Type Name Description
XPathNavigator node
Returns
Type Description
Boolean
Overrides
XsltContext.PreserveWhitespace(XPathNavigator)
| Improve this Doc View Source

ResolveFunction(String, String, XPathResultType[])

Declaration
public override IXsltContextFunction ResolveFunction(string prefix, string name, XPathResultType[] argTypes)
Parameters
Type Name Description
String prefix
String name
XPathResultType[] argTypes
Returns
Type Description
IXsltContextFunction
Overrides
XsltContext.ResolveFunction(String, String, XPathResultType[])
| Improve this Doc View Source

ResolveVariable(String, String)

Declaration
public override IXsltContextVariable ResolveVariable(string prefix, string name)
Parameters
Type Name Description
String prefix
String name
Returns
Type Description
IXsltContextVariable
Overrides
XsltContext.ResolveVariable(String, String)

Implements

System.Xml.IXmlNamespaceResolver
System.Collections.IEnumerable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX