File: unconfigured-elements.html

package info (click to toggle)
xmlformat 1.04-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,012 kB
  • sloc: xml: 2,289; perl: 996; ruby: 831; makefile: 109; sh: 65
file content (33 lines) | stat: -rw-r--r-- 2,561 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>5. 
Checking for Unconfigured Elements
</title><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><link rel="start" href="index.html" title="
xmlformat Tutorial
"><link rel="up" href="index.html" title="
xmlformat Tutorial
"><link rel="prev" href="inherited-formatting.html" title='4. 
Discovering "Inherited" Formatting Options
'></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">5. 
Checking for Unconfigured Elements
</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="inherited-formatting.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="unconfigured-elements"></a>5. 
Checking for Unconfigured Elements
</h2></div></div></div><p>
Any elements appearing in the input document that are not named in the
configuration file are formatted using the values of the
<code class="literal">*DEFAULT</code> section. If the file contains no
<code class="literal">*DEFAULT</code> section, <span><strong class="command">xmlformat</strong></span> uses
built-in default values.
</p><p>
If you want to see whether there are any elements in the document for
which you haven't specified any formatting options, run
<span><strong class="command">xmlformat</strong></span> with the
<code class="option">--show-unconfigured-elements</code> option. For example:
</p><pre class="screen">
% <strong class="userinput"><code>xmlformat --show-unconfigured-elements doc2.xml</code></strong>
The following document elements were assigned no formatting options:
title
</pre><p>
As it happens, the title already formats in the desired fashion, so
there's no necessity of adding anything more to the configuration file.
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="inherited-formatting.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">4. 
Discovering "Inherited" Formatting Options
 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>