Click or drag to resize

BodyIsValidXHTML Method (String, XHTMLValidationType, String)

Validates the XHTML.

Namespace:  Spire.Doc
Assembly:  Spire.Doc (in Spire.Doc.dll) Version: 9.10.0.0 (9.10.0.3040)
Syntax
public bool IsValidXHTML(
	string html,
	XHTMLValidationType type,
	out string exceptionMessage
)

Parameters

html
Type: SystemString
The HTML.
type
Type: Spire.Doc.DocumentsXHTMLValidationType
The validation type.
exceptionMessage
Type: SystemString
The exception message.

Return Value

Type: Boolean
if it is valid XHTML, set to true.
See Also