Validates the XHTML.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public bool IsValidXHTML(
	string html,
	XHTMLValidationType type
)
Public Function IsValidXHTML ( 
	html As String,
	type As XHTMLValidationType
) As Boolean
public:
bool IsValidXHTML(
	String^ html, 
	XHTMLValidationType type
)
member IsValidXHTML : 
        html : string * 
        type : XHTMLValidationType -> bool 

Parameters

html
String
The HTML.
type
XHTMLValidationType
The validation type.

Return Value

Boolean
if it is valid XHTML, set to true.

See Also