Click or drag to resize

Body IsValidXHTML Method (String, XHTMLValidationType, String )

Validates the XHTML.

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

Parameters

html
Type: System String
The HTML.
type
Type: Spire.Doc.Documents XHTMLValidationType
The validation type.
exceptionMessage
Type: System String
The exception message.

Return Value

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