Table of Contents

BuildComponentUtilities.IsLegalXmlText Method

Definition

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

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

public static bool IsLegalXmlText(this string text)

Parameters

text string

The text to check

Returns

bool

True if all characters are legal XML characters, false if not