@href

The attribute href points to the location of a file. In some contexts, this attribute is allowed only as a temporary measure, to invoke editing assistance by means of Schematron Quick Fixes.

Formal Definition

Defined at: catalog.tan.rng, TAN-core.rng

Used by: <doc>, ~entity-digital-tan-other-ref, ~loc-self, ~loc-src

[Caution]Caution

@href must have <location> or <master-location> as a parent; any other parent will trigger a quick fix to populate the element with the IRI + name pattern of the target file.

[Important]Important

If fn:doc-available() for an @href returns false, the following message will be returned. @href points to file that is either (1) not available, (2) not valid XML, or (3) at a server not trusted by the validation engine.

[Caution]Caution

The only @href in a TAN document that may point to the same document id is that of <master-location>

[Caution]Caution

No @href should point to the URI of the document itself.

[Caution]Caution

No <master-location> may have an @href that points to a compressed archive.

[Caution]Caution

Every @href in a catalog.tan.xml file must point to a document that is available.

[Important]Important

@href values in catalog.tan.xml should be unique