HtmlNodeProperty

Retrieves one of select properties of an HTML Node

  • Free Function
  • SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017

Syntax:

SELECT SQLHTTP.net.HTMLNodeProperty ( @HtmlNode, @Property )

Arguments:

Name Type Description
@HtmlNode nvarchar(MAX) String composed of an HTML node
@Property varchar(50) One of the following values: Closed, EndNode, HasAttributes, HasChildNodes, ID, InnerHtml, InnerText, Name, NodeType

Return Type:

nvarchar(MAX)

Sample Usage:

See Also: