RdfXmlSpecsHelper.IsNodeIDAttribute Method (AttributeEvent, INamespaceMapper) |
Checks whether an attribute is an rdf:nodeID attribute.
Namespace:
VDS.RDF.Parsing
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntaxpublic 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.RdfXml.AttributeEvent
Attribute to Test. - nsMapper
- Type: VDS.RDF.INamespaceMapper
The namespace prefix mappings to use when expanding the namespace prefix of the attribute.
Return Value
Type:
BooleanTrue if is an rdf:nodeID attribute.
RemarksDoes some validation on ID value but other validation occurs at other points in the Parsing.
See Also