Tests for <xref> Element This document tests many variations of the <xref> element.
Introduction This document tests many variations of the <xref> element.
<xref> Tests
...to <dl> Element <xref target="t-dl"/> Output: "" <xref target="t-dl">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-dl"/> Output: "" <xref format="default" target="t-dl">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-dl"/> (not allowed) <xref format="counter" target="t-dl">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-dl"/> Output: "" <xref format="title" target="t-dl">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-dl"/> Output: "" <xref format="none" target="t-dl">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <dd> child of <dl> Element <xref target="t-dl-dd"/> Output: "" <xref target="t-dl-dd">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-dl-dd"/> Output: "" <xref format="default" target="t-dl-dd">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-dl-dd"/> (not allowed) <xref format="counter" target="t-dl-dd">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-dl-dd"/> Output: "" <xref format="title" target="t-dl-dd">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-dl-dd"/> Output: "" <xref format="none" target="t-dl-dd">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <dt> child of <dl> Element <xref target="t-dl-dt"/> Output: "" <xref target="t-dl-dt">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-dl-dt"/> Output: "" <xref format="default" target="t-dl-dt">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-dl-dt"/> (not allowed) <xref format="counter" target="t-dl-dt">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-dl-dt"/> Output: "" <xref format="title" target="t-dl-dt">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-dl-dt"/> Output: "" <xref format="none" target="t-dl-dt">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <reference> Element <xref target="t-reference"/> Output: "" <xref target="t-reference">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-reference"/> Output: "" <xref format="default" target="t-reference">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-reference"/> (not allowed) <xref format="counter" target="t-reference">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-reference"/> Output: "" <xref format="title" target="t-reference">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-reference"/> Output: "" <xref format="none" target="t-reference">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <reference> Element with non-ASCII title <xref target="t-reference-u"/> Output: "" <xref target="t-reference-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-reference-u"/> Output: "" <xref format="default" target="t-reference-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-reference-u"/> (not allowed) <xref format="counter" target="t-reference-u">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-reference-u"/> Output: "" <xref format="title" target="t-reference-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-reference-u"/> Output: "" <xref format="none" target="t-reference-u">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <referencegroup> Element <xref target="t-referencegroup"/> Output: "" <xref target="t-referencegroup">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-referencegroup"/> Output: "" <xref format="default" target="t-referencegroup">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-referencegroup"/> (not allowed) <xref format="counter" target="t-referencegroup">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-referencegroup"/> Output: "" <xref format="title" target="t-referencegroup">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-referencegroup"/> Output: "" <xref format="none" target="t-referencegroup">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to member of <referencegroup> Element <xref target="t-referencegroup-member"/> Output: "" <xref target="t-referencegroup-member">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-referencegroup-member"/> Output: "" <xref format="default" target="t-referencegroup-member">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-referencegroup-member"/> (not allowed) <xref format="counter" target="t-referencegroup-member">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-referencegroup-member"/> Output: "" <xref format="title" target="t-referencegroup-member">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-referencegroup-member"/> Output: "" <xref format="none" target="t-referencegroup-member">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <t> Element <xref target="t-t"/> Output: "" <xref target="t-t">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-t"/> Output: "" <xref format="default" target="t-t">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-t"/> Output: "" <xref format="counter" target="t-t">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="title" target="t-t"/> Output: "" <xref format="title" target="t-t">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-t"/> Output: "" <xref format="none" target="t-t">TEXTCONTENT</xref> Output: "TEXTCONTENT"
Top-level elements
...to <abstract> Element <xref target="t-abstract"/> Output: "" <xref target="t-abstract">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-abstract"/> Output: "" <xref format="default" target="t-abstract">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-abstract"/> (not allowed) <xref format="counter" target="t-abstract">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-abstract"/> Output: "" <xref format="title" target="t-abstract">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-abstract"/> Output: "" <xref format="none" target="t-abstract">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <references> Element <xref target="t-references"/> Output: "" <xref target="t-references">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-references"/> Output: "" <xref format="default" target="t-references">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-references"/> Output: "" <xref format="counter" target="t-references">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="title" target="t-references"/> Output: "" <xref format="title" target="t-references">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-references"/> Output: "" <xref format="none" target="t-references">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <section> Element <xref target="t-section"/> Output: "" <xref target="t-section">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-section"/> Output: "" <xref format="default" target="t-section">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-section"/> Output: "" <xref format="counter" target="t-section">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="title" target="t-section"/> Output: "" <xref format="title" target="t-section">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-section"/> Output: "" <xref format="none" target="t-section">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to unnumbered <section> Element <xref target="t-section-u"/> Output: "" <xref target="t-section-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-section-u"/> Output: "" <xref format="default" target="t-section-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-section-u"/> Output: "" <xref format="counter" target="t-section-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="title" target="t-section-u"/> Output: "" <xref format="title" target="t-section-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-section-u"/> Output: "" <xref format="none" target="t-section-u">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <section> Element inside <back> <xref target="t-appendix"/> Output: "" <xref target="t-appendix">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-appendix"/> Output: "" <xref format="default" target="t-appendix">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-appendix"/> Output: "" <xref format="counter" target="t-appendix">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="title" target="t-appendix"/> Output: "" <xref format="title" target="t-appendix">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-appendix"/> Output: "" <xref format="none" target="t-appendix">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to unnumbered <section> Element inside <back> <xref target="t-appendix-u"/> Output: "" <xref target="t-appendix-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-appendix-u"/> Output: "" <xref format="default" target="t-appendix-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-appendix-u"/> Output: "" <xref format="counter" target="t-appendix-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="title" target="t-appendix-u"/> Output: "" <xref format="title" target="t-appendix-u">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-appendix-u"/> Output: "" <xref format="none" target="t-appendix-u">TEXTCONTENT</xref> Output: "TEXTCONTENT"
Block-level elements
...to bare <artwork> Element <xref target="t-bare-artwork"/> Output: "" <xref target="t-bare-artwork">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-bare-artwork"/> Output: "" <xref format="default" target="t-bare-artwork">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-bare-artwork"/> (not allowed) <xref format="counter" target="t-bare-artwork">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-bare-artwork"/> Output: "" <xref format="title" target="t-bare-artwork">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-bare-artwork"/> Output: "" <xref format="none" target="t-bare-artwork">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <aside> Element <xref target="t-aside"/> Output: "" <xref target="t-aside">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-aside"/> Output: "" <xref format="default" target="t-aside">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-aside"/> (not allowed) <xref format="counter" target="t-aside">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-aside"/> Output: "" <xref format="title" target="t-aside">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-aside"/> Output: "" <xref format="none" target="t-aside">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <blockquote> Element <xref target="t-blockquote"/> Output: "" <xref target="t-blockquote">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-blockquote"/> Output: "" <xref format="default" target="t-blockquote">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-blockquote"/> (not allowed) <xref format="counter" target="t-blockquote">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-blockquote"/> Output: "" <xref format="title" target="t-blockquote">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-blockquote"/> Output: "" <xref format="none" target="t-blockquote">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <figure> Element <xref target="t-figure"/> Output: "" <xref target="t-figure">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-figure"/> Output: "" <xref format="default" target="t-figure">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-figure"/> Output: "" <xref format="counter" target="t-figure">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="title" target="t-figure"/> Output: "" <xref format="title" target="t-figure">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-figure"/> Output: "" <xref format="none" target="t-figure">TEXTCONTENT</xref> Output: "TEXTCONTENT"
Flow elements
...to <cref> Element <xref target="t-cref"/> Output: "" <xref target="t-cref">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-cref"/> Output: "" <xref format="default" target="t-cref">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-cref"/> (not allowed) <xref format="counter" target="t-cref">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-cref"/> Output: "" <xref format="title" target="t-cref">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-cref"/> Output: "" <xref format="none" target="t-cref">TEXTCONTENT</xref> Output: "TEXTCONTENT"
...to <cref> Element (with display=false) <xref target="t-cref-df"/> Output: "" <xref target="t-cref-df">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="default" target="t-cref-df"/> Output: "" <xref format="default" target="t-cref-df">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="counter" target="t-cref-df"/> (not allowed) <xref format="counter" target="t-cref-df">TEXTCONTENT</xref> (not allowed) <xref format="title" target="t-cref-df"/> Output: "" <xref format="title" target="t-cref-df">TEXTCONTENT</xref> Output: "TEXTCONTENT" <xref format="none" target="t-cref-df"/> Output: "" <xref format="none" target="t-cref-df">TEXTCONTENT</xref> Output: "TEXTCONTENT"
A comment. This comment is hidden: hidden comment.
...blockquote...
Definition List:
A
B
A simple paragraph. A figure:
FOO
artwork outside figure: FOO
Another Document Capital ẞ A document with non-ASCII characters in the title. Title of Referencegroup Member