Debian Codegraph @

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