Click or drag to resize

RdfXmlSpecsHelperIsIDAttribute Method (AttributeEvent, INestedNamespaceMapper)

Checks whether an attribute is an rdf:ID attribute.

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static bool IsIDAttribute(
	AttributeEvent attr,
	INestedNamespaceMapper nsMapper
)

Parameters

attr
Type: VDS.RDF.Parsing.Events.RdfXmlAttributeEvent
Attribute to Test.
nsMapper
Type: VDS.RDFINestedNamespaceMapper
The namespace prefix mappings to use when expanding the namespace prefix of the attribute.

Return Value

Type: Boolean
True if is an rdf:ID attribute.
Remarks
Does some validation on ID value but other validation occurs at other points in the Parsing.
See Also