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
)
Public Shared Function IsNodeIDAttribute (
attr As AttributeEvent,
nsMapper As INamespaceMapper
) As Boolean
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:
BooleanTrue 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