xmlns:xlink
XLink Namespace Declaration
This is not an attribute, but the namespace pseudo-attribute. The value provides a
prefix and URI to use for the XLink linking attributes. All namespace prefixes must be associated
with a URL, and the prefix “xlink” has been set to the URL for
the World Wide Web Consortium (W3C) XLink Recommendation.
Used on these Elements:
<book>, <book-app>, <book-app-group>, <book-part>, <book-part-wrapper>, <dedication>, <foreword>, <front-matter-part>, <preface>
Value | Meaning |
---|---|
http://www.w3.org/1999/xlink | The prefix “xlink” has been set to the URL for the W3C XLink Recommendation. |
Restriction | @xmlns:xlink has a fixed value which may not be changed in the document. |
Used on these Elements:
<abbrev>, <award-group>, <award-id>, <bio>, <chem-struct>, <collab>, <conference>, <contrib>, <custom-meta>, <element-citation>, <email>, <ext-link>, <funding-source>, <funding-statement>, <graphic>, <inline-graphic>, <inline-supplementary-material>, <institution>, <issue-id>, <license>, <long-desc>, <media>, <mixed-citation>, <named-content>, <product>, <pub-id>, <related-article>, <related-object>, <self-uri>, <supplementary-material>, <uri>, <volume-id>
Value | Meaning |
---|---|
http://www.w3.org/1999/xlink | When this attribute is used, the prefix “xlink”” should be set to the URL for the W3C XLink Recommendation. |
Restriction | @xmlns:xlink is an optional attribute; there is no default. |
Example
<book
xmlns:mml="http://www.w3.org/1998/Math/MathML"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
book-type="gov"
dtd-version="2.0"
indexed="yes"
xml:lang="en">
<book-meta>...</book-meta>
<book-body>...</book-body>
<book-back>...</book-back>
</book>