Click or drag to resize

RdfAParserHasAttribute Method

Determine if an element has a particular attribute.

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
protected override bool HasAttribute(
	HtmlNode element,
	string attributeName
)

Parameters

element
Type: HtmlNode
The element to check.
attributeName
Type: SystemString
The name of the attribute to check for.

Return Value

Type: Boolean
True if the element has an attribute named attributeName, false otherwise.
See Also