HtmlNodeAttribute

Retrieves the value of an HTML Node Attribute

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

Syntax:

SELECT SQLHTTP.net.HtmlNodeAttribute ( @HtmlNode, @Name )

Arguments:

Name Type Description
@HtmlNode nvarchar(MAX) String containing an HTML element node
@Name nvarchar(MAX) Name of the Attribute to be retrieved

Return Type:

nvarchar(MAX)

Sample Usage:

See Also: