Debian Codegraph @

en/refpages/elements/ulink/refentry.xml

raw symbols SCIP
1 <refentry id="ulink.element">
2 <?dbhtml filename="ulink.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>ulink</secondary></indexterm>
11 <refentrytitle>ulink</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>ulink</refname>
16 <refpurpose>&ulink.purpose;</refpurpose>
17 </refnamediv>
18
19 &ulink.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>The <sgmltag>ULink</sgmltag> element forms the equivalent of an &HTML; anchor
23 (<sgmltag class='starttag'>A HREF="..."</sgmltag>)
24 for cross reference by a Uniform Resource Locator (<acronym>URL</acronym>).
25 </para>
26
27 <refsect2><title>Processing expectations</title>
28 <para>
29 &format.inline; When rendered online, it is natural to make the content
30 of the <sgmltag>ULink</sgmltag> element an active link. When rendered in print
31 media, the <acronym>URL</acronym> might be ignored, printed after the
32 text of the link, or printed as a footnote.
33 </para>
34
35 <para>When the content of the <sgmltag>ULink</sgmltag> element is empty, i.e., for
36 either of the following cases:
37 <literal>&lt;ulink url="..."/></literal> and
38 <literal>&lt;ulink url="...">&lt;/ulink></literal>, the content
39 of the <sgmltag class="attribute">url</sgmltag> attribute should be
40 rendered as the text of the link.</para>
41
42 <para>
43 Linking elements must not be nested within other linking
44 elements (including themselves). Because DocBook is harmonizing
45 towards &XML;, this restriction cannot easily be enforced by the &DTD;. The
46 processing of nested linking elements is undefined.
47 </para>
48 </refsect2>
49
50 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
51 <para>
52 <!--do not index this occurance-->
53 &fu.interfacedefinition;
54 </para>
55 </refsect2>
56
57
58 &ulink.parents.gen;
59 &ulink.children.gen;
60 </refsect1>
61 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
62 <variablelist>
63 <varlistentry><term>type</term>
64 <listitem>
65 <para>
66 <sgmltag class="attribute">Type</sgmltag> is available for application-specific
67 customization of the linking behavior.
68 </para>
69 </listitem>
70 </varlistentry>
71 <varlistentry><term>url</term>
72 <listitem>
73 <para>
74 <sgmltag class="attribute">URL</sgmltag> specifies the Uniform Resource Locator
75 that is the target of the <sgmltag>ULink</sgmltag>.
76 </para>
77 </listitem>
78 </varlistentry>
79 </variablelist>
80 </refsect1>
81 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
82 &ulink.seealso.gen;
83 </refsect1>
84 <refsect1><title>Examples</title>
85
86 <informalexample role="example-source">
87 <programlisting>&ulink.example.1.txt;</programlisting>
88 </informalexample>
89
90 <anchor id="ex.os.ulink.1" role="HACK-ex.out.start"/>
91 &ulink.example.1.gen;
92 <anchor id="ex.oe.ulink.1" role="HACK-ex.out.end"/>
93
94 &ulink.example.seealso.gen;
95 </refsect1>
96 </refentry>
97