Validates the XHTML.
Namespace: Spire.DocAssembly: 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, 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
- String
The HTML.
- type
- XHTMLValidationType
The validation type.
- exceptionMessage
- String%
The exception message.
Return Value
Booleanif it is valid XHTML, set to true.