◇◆
href XInclude Href Linking Mechanism
A URI reference (or an IRI reference) that specifies the location of the resource
to include. See W3C XInclude documentation (https://www.w3.org/TR/xinclude/).
Usage/Remarks
This attribute is only used for the <xi:include>
element; most elements in this Tag Set use the XLink href attribute (@xlink:href).
According to the W3C documentation:
The @href attribute is optional; the
absence of this attribute is the same as specifying “href=''”, that is, the reference is
to the same document. If the @href attribute is absent when “parse="xml"”, the
@xpointer attribute must be present. Fragment identifiers must not be used; their appearance
is a fatal error.
OPTIONAL on element: <xi:include>
Value | Meaning |
---|---|
Text, numbers, or special characters | The URI of a resource to be included. |
Restriction | This is an optional attribute; there is no default. |
Tagged Sample
URI for file being incorporated into standard
<standard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:tbx="urn:iso:std:iso:30042:ed-1" xmlns:oasis="http://www.niso.org/standards/z39-96/ns/oasis-exchange/table" xmlns:xi="http://www.w3.org/2001/XInclude" dtd-version="1.0" xml:lang="en"> <front>...</front> <body> <!-- Introduction is in file S-2295-Intro.xml --> <xi:include href="S-2295-Intro.xml" xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml"/> <!-- Scope is in file S-2295-Scope.xml --> <xi:include href="S-2295-Scope.xml" xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml"/> <!-- Terms and Defs section is in file S-2295-T-D.xml --> <xi:include href="S-2295-T-D.xml" xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml"/> ... </body> </standard>