XsltFunctions Class

Definition

XSLT and XPath functions.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class XsltFunctions abstract sealed
public static class XsltFunctions
type XsltFunctions = class
Public Class XsltFunctions
Inheritance
XsltFunctions

Methods

BaseUri(XPathNavigator)

Returns the value of the base URI of the node of the node passed in by the navigator parameter. Implements baseUri XPath function according to the W3C specification.

Contains(String, String)

Implements contains XPath function according to the W3C specification.

EXslObjectType(IList<XPathItem>)

Implements exsl:object-type.

Lang(String, XPathNavigator)

Implements the lang function according to the W3C XPath specification.

MSFormatDateTime(String, String, String, Boolean)

Implements the ms:format-date and ms-format-timeMicrosoft XPath extension functions.

MSLocalName(String)

Implements the ms:local-nameMicrosoft XPath extension function.

MSNamespaceUri(String, XPathNavigator)

Implements the ms:namespace-uriMicrosoft XPath extension function.

MSNumber(IList<XPathItem>)

Implements ms:numberMicrosoft XPath extension function.

MSStringCompare(String, String, String, String)

Implements ms:string-compareMicrosoft XPath extension function.

MSUtc(String)

Implements the ms:utcMicrosoft XPath extension function.

NormalizeSpace(String)

Removes leading and trailing spaces from the specified string and returns the result. Implements normalize-space function from the W3C XPath standard.

OuterXml(XPathNavigator)

Gets the markup representing the opening and closing tags of the node and all child nodes of the node identified by the XPathNavigator argument.

Round(Double)

Rounds value by using XPath rounding rules. Rounds towards positive infinity. Values between -0.5 and -0.0 are rounded to -0.0 (negative zero).

StartsWith(String, String)

Implements starts-with XPath function according to the W3C specification.

Substring(String, Double)

Implements substring XPath function according to the W3C specification.

Substring(String, Double, Double)

Implements substring XPath function according to the W3C specification.

SubstringAfter(String, String)

Implements substring-after XPath function according to the W3C specification.

SubstringBefore(String, String)

Implements substring-before XPath function according to the W3C specification.

SystemProperty(XmlQualifiedName)

Implements system-property XSLT function according to the W3C specification.

Translate(String, String, String)

Implements translate XPath function according to the W3C specification.

Applies to