Debian Codegraph @

en/refpages/elements/textdata/refentry.xml

raw symbols SCIP
1 <refentry id="textdata.element" revision='4.2'>
2 <?dbhtml filename="textdata.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>textdata</secondary></indexterm>
11 <refentrytitle>textdata</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>textdata</refname>
16 <refpurpose>&textdata.purpose;</refpurpose>
17 </refnamediv>
18
19 &textdata.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>This element points to an external entity containing text
23 to be inserted.
24 </para>
25
26 <note>
27 <para>Any markup in the text identified with <sgmltag>textdata</sgmltag>
28 will be escaped. In other words, this element is for inserting things
29 like program listings, not parts of an XML document. To break a document
30 into separate physical files, use entities.</para>
31 </note>
32
33 <refsect2 id="dbreproc.textdata"><title>Processing expectations</title>
34 <para>
35 &format.context; Insert the text.
36 </para>
37 <para>
38 There are two ways to provide content for <sgmltag>textdata</sgmltag>:
39 <sgmltag class='attribute'>entityref</sgmltag> or <sgmltag
40 class='attribute'>fileref</sgmltag>. It is best to use only one of these
41 methods, however, if multiple sources are provided,
42 <sgmltag class='attribute'>entityref</sgmltag> will be used in favor of
43 <sgmltag class='attribute'>fileref</sgmltag>.
44 </para>
45 </refsect2>
46
47 &textdata.parents.gen;
48
49 </refsect1>
50
51 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
52 <variablelist>
53 <varlistentry><term>encoding</term>
54 <listitem>
55 <para>Identifies the encoding of the text in the external file.
56 Recommended best practice suggests that character encodings
57 <ulink url="ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets">registered
58 (as charsets)</ulink> with the Internet Assigned Numbers Authority
59 be referred to using their registered names.</para>
60 </listitem>
61 </varlistentry>
62 <varlistentry><term>entityref</term>
63 <listitem>
64 <para><sgmltag class="attribute">EntityRef</sgmltag> identifies the general entity
65 which contains (or points to) the external text.
66 </para>
67 </listitem>
68 </varlistentry>
69 <varlistentry><term>fileref</term>
70 <listitem>
71 <para><sgmltag class="attribute">FileRef</sgmltag> specifies the name of the file
72 which contains the external text.
73 </para>
74 </listitem>
75 </varlistentry>
76 <varlistentry><term>format</term>
77 <listitem>
78 <para><sgmltag class="attribute">Format</sgmltag> identifies the format of the
79 external text. The <sgmltag class="attribute">Format</sgmltag> must be a defined
80 notation.
81 </para>
82 </listitem>
83 </varlistentry>
84 <varlistentry><term>srccredit</term>
85 <listitem>
86 <para><sgmltag class="attribute">SrcCredit</sgmltag> contains details about the source
87 of the external text.
88 </para>
89 </listitem>
90 </varlistentry>
91 </variablelist>
92 </refsect1>
93 </refentry>
94