Table of Contents

BuildComponentUtilities Class

Definition

Namespace
Sandcastle.Core.BuildAssembler
Assembly
Sandcastle.Core.dll

This class contains a set of utility extension methods that can be used by build components

public static class BuildComponentUtilities
Inheritance
BuildComponentUtilities

Methods

EvalXPathExpr(IXPathNavigable, XPathExpression, CustomContext)

This is used to get the string result from evaluating an XPath expression against the given document and context.

EvalXPathExpr(IXPathNavigable, XPathExpression, params string[])

This is used to get the string result from evaluating an XPath expression against the given document and a context created from a set of key/value pairs.

GetExceptionMessage(Exception)

This is used to get the message strings from an exception and any of its inner exceptions

GetInnerXml(XPathNavigator)

This is used to get the inner XML of a node without changing the spacing

GetRelativePath(string, string)

This returns the path argument adjusted to be relative to the base path. Absolute path names will be returned unchanged.

IsLegalXmlText(string)

This is used to confirm that the specified text only contains legal XML characters

ToArray(XPathNodeIterator)

Convert an XPath node iterator to an array