Click or drag to resize

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: 9.1.0.0 (9.1.0.20241025)
Syntax
public void LoadHtmlAsXml(
	string htmlUrl,
	string xsltUrl,
	XsltArgumentList xsltArgs,
	XmlTextWriter writer,
	string xmlPath
)

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