xml:base
Base
Provides a base URI for identifiers in the XML document or a part of the XML document. Within this document, or portion of the document, all URIs are assumed to be built on the “base” provided as the value of this attribute. For example, if a document has an @xml:base of “https://jats.nlm.nih.gov/”,
a URI inside the document of “publishing/rationale.html” would be processed as if it were
“https://jats.nlm.nih.gov/publishing/rationale.html”. Values of @xml:base are inherited, meaning that if there is an @xml:base on a document and on a part of the document, uses inside the part of the document take the value of the part, not the whole.
Used on these Elements:
<abbrev>, <abbrev-journal-title>, <abstract>, <access-date>, <ack>, <addr-line>, <address>, <aff>, <aff-alternatives>, <ali:free_to_read>, <ali:license_ref>, <alt-text>, <alt-title>, <alternatives>, <annotation>, <anonymous>, <app>, <app-group>, <array>, <article>, <article-categories>, <article-id>, <article-meta>, <article-title>, <article-version>, <article-version-alternatives>, <attrib>, <author-comment>, <author-notes>, <award-group>, <award-id>, <back>, <bio>, <body>, <bold>, <boxed-text>, <break>, <caption>, <chapter-title>, <chem-struct>, <chem-struct-wrap>, <citation-alternatives>, <city>, <code>, <col>, <colgroup>, <collab>, <collab-alternatives>, <comment>, <compound-kwd>, <compound-kwd-part>, <compound-subject>, <compound-subject-part>, <conf-acronym>, <conf-date>, <conf-loc>, <conf-name>, <conf-num>, <conf-sponsor>, <conf-theme>, <conference>, <contrib>, <contrib-group>, <contrib-id>, <contributed-resource-group>, <copyright-holder>, <copyright-statement>, <copyright-year>, <corresp>, <count>, <country>, <counts>, <custom-meta>, <custom-meta-group>, <data-title>, <date>, <date-in-citation>, <day>, <def>, <def-head>, <def-item>, <def-list>, <degrees>, <disp-formula>, <disp-formula-group>, <disp-quote>, <edition>, <element-citation>, <elocation-id>, <email>, <equation-count>, <era>, <etal>, <event>, <event-desc>, <ext-link>, <fax>, <fig>, <fig-count>, <fig-group>, <fixed-case>, <floats-group>, <fn>, <fn-group>, <fpage>, <front>, <front-stub>, <funding-group>, <funding-source>, <funding-statement>, <given-names>, <glossary>, <glyph-data>, <glyph-ref>, <gov>, <graphic>, <history>, <hr>, <index-term>, <index-term-range-end>, <inline-formula>, <inline-graphic>, <inline-media>, <inline-supplementary-material>, <institution>, <institution-id>, <institution-wrap>, <isbn>, <issn>, <issn-l>, <issue>, <issue-id>, <issue-part>, <issue-sponsor>, <issue-title>, <italic>, <journal-id>, <journal-meta>, <journal-subtitle>, <journal-title>, <journal-title-group>, <kwd>, <kwd-group>, <label>, <license>, <license-p>, <list>, <list-item>, <long-desc>, <lpage>, <media>, <meta-name>, <meta-value>, <milestone-end>, <milestone-start>, <mixed-citation>, <monospace>, <month>, <name>, <name-alternatives>, <named-content>, <nested-kwd>, <nlm-citation>, <note>, <notes>, <object-id>, <on-behalf-of>, <open-access>, <overline>, <p>, <page-count>, <page-range>, <part-title>, <patent>, <permissions>, <person-group>, <phone>, <postal-code>, <prefix>, <preformat>, <price>, <principal-award-recipient>, <principal-investigator>, <private-char>, <product>, <pub-date>, <pub-date-not-available>, <pub-history>, <pub-id>, <publisher>, <publisher-loc>, <publisher-name>, <rb>, <ref>, <ref-count>, <ref-list>, <related-article>, <related-object>, <resource-group>, <resource-id>, <resource-name>, <resource-wrap>, <response>, <role>, <roman>, <rt>, <ruby>, <sans-serif>, <sc>, <season>, <sec>, <sec-meta>, <see>, <see-also>, <self-uri>, <series>, <series-text>, <series-title>, <sig>, <sig-block>, <size>, <source>, <speaker>, <speech>, <state>, <statement>, <std>, <std-organization>, <strike>, <string-date>, <string-name>, <styled-content>, <sub>, <sub-article>, <subj-group>, <subject>, <subtitle>, <suffix>, <sup>, <support-description>, <support-group>, <support-source>, <supplement>, <supplementary-material>, <surname>, <table>, <table-count>, <table-wrap>, <table-wrap-foot>, <table-wrap-group>, <target>, <tbody>, <td>, <term>, <term-head>, <tex-math>, <textual-form>, <tfoot>, <th>, <thead>, <time-stamp>, <title>, <title-group>, <tr>, <trans-abstract>, <trans-source>, <trans-subtitle>, <trans-title>, <trans-title-group>, <underline>, <uri>, <verse-group>, <verse-line>, <version>, <volume>, <volume-id>, <volume-issue-group>, <volume-series>, <word-count>, <xref>, <year>
Value | Meaning |
---|---|
Text, numbers, or special characters | The base URI. |
Restriction | @xml:base is an optional attribute; there is no default. |