Click or drag to resize

RdfXmlSpecsHelperIsNodeIDAttribute Method (AttributeEvent, INamespaceMapper)

Checks whether an attribute is an rdf:nodeID attribute.

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

Parameters

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

Return Value

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