HtmlWebLoadHtmlAsXml Method (String, String, XsltArgumentList, XmlTextWriter, String) |
Loads an HTML document from an Internet resource and saves it to the specified XmlTextWriter, after an XSLT transformation.
Namespace:
WorkflowGen.My.HtmlAgilityPack
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.3.0.0 (4.3.0.0)
Syntax public void LoadHtmlAsXml(
string htmlUrl,
string xsltUrl,
XsltArgumentList xsltArgs,
XmlTextWriter writer,
string xmlPath
)
Public Sub LoadHtmlAsXml (
htmlUrl As String,
xsltUrl As String,
xsltArgs As XsltArgumentList,
writer As XmlTextWriter,
xmlPath As String
)
Parameters
- htmlUrl
- Type: SystemString
The requested URL, such as "http://Myserver/Mypath/Myfile.asp". May not be null. - xsltUrl
- Type: SystemString
The URL that specifies the XSLT stylesheet to load. - xsltArgs
- Type: System.Xml.XslXsltArgumentList
An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. - writer
- Type: XmlTextWriter
The XmlTextWriter to which you want to save. - xmlPath
- Type: SystemString
A file path where the temporary XML before transformation will be saved. Mostly used for debugging purposes.
See Also