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