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
)
Public Function IsValidXHTML (
html As String,
type As XHTMLValidationType,
<OutAttribute> ByRef exceptionMessage As String
) As Boolean
public:
bool IsValidXHTML(
String^ html,
XHTMLValidationType type,
[OutAttribute] String^% exceptionMessage
)
member IsValidXHTML :
html : string *
type : XHTMLValidationType *
exceptionMessage : string byref -> bool
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