BuildComponentUtilities Class

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

Definition

Namespace: Sandcastle.Core.BuildAssembler
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.2.18.0
public static class BuildComponentUtilities
Inheritance
Object    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, 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 This is used to get the message strings from an exception and any of its inner exceptions
GetInnerXml This is used to get the inner XML of a node without changing the spacing
GetRelativePath This returns the path argument adjusted to be relative to the base path. Absolute path names will be returned unchanged.
IsLegalXmlText This is used to confirm that the specified text only contains legal XML characters
ToArray Convert an XPath node iterator to an array

See Also