HtmlNodeAttributes

Returns a table of attribute name and value pairs of an HTML Node

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

Syntax:

SELECT *
FROM SQLHTTP.net.HtmlNodeAttributes ( @HtmlNode )

Arguments:

Name Type Description
@HtmlNode nvarchar(MAX) String containing an HTML element node

Table Returned:

Column name Data type Description
RowID int Item Index
Name nvarchar(4000) Attribute Name
Value nvarchar(MAX) Attribute Value

Sample Usage:

See Also: