~ubuntu-branches/ubuntu/vivid/docbook-xsl-doc/vivid

« back to all changes in this revision

Viewing changes to doc/fo/l10n.lang.value.rfc.compliant.html

  • Committer: Package Import Robot
  • Author(s): Daniel Leidert
  • Date: 2013-05-26 00:54:15 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20130526005415-uktl1p29syniq984
Tags: 1.78.1-1
* New upstream release.
* debian/control: Dropped DM-Upload-Allowed field.
  (Standards-Version): Bumped to 3.9.4.
* debian/watch: Updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>l10n.lang.value.rfc.compliant</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="l10n.html" title="Localization"><link rel="prev" href="l10n.gentext.use.xref.language.html" title="l10n.gentext.use.xref.language"><link rel="next" href="writing.mode.html" title="writing.mode"><link rel="copyright" href="copyright.html" title="License"></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">l10n.lang.value.rfc.compliant</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="l10n.gentext.use.xref.language.html">Prev</a>�</td><th width="60%" align="center">Localization</th><td width="20%" align="right">�<a accesskey="n" href="writing.mode.html">Next</a></td></tr></table><hr></div><div class="refentry" title="l10n.lang.value.rfc.compliant"><a name="l10n.lang.value.rfc.compliant"></a><div class="titlepage"></div>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>l10n.lang.value.rfc.compliant</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="l10n.html" title="Localization"><link rel="prev" href="l10n.gentext.use.xref.language.html" title="l10n.gentext.use.xref.language"><link rel="next" href="writing.mode.html" title="writing.mode"><link rel="copyright" href="copyright.html" title="License"></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">l10n.lang.value.rfc.compliant</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="l10n.gentext.use.xref.language.html">Prev</a>�</td><th width="60%" align="center">Localization</th><td width="20%" align="right">�<a accesskey="n" href="writing.mode.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="l10n.lang.value.rfc.compliant"></a><div class="titlepage"></div>
2
2
 
3
3
<div class="refnamediv"><h2><span class="refentrytitle">l10n.lang.value.rfc.compliant</span></h2><p>
4
4
l10n.lang.value.rfc.compliant
5
5
 &#8212; Make value of lang attribute RFC compliant?
6
6
</p></div>
7
7
 
8
 
<div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2>
 
8
<div class="refsynopsisdiv"><h2>Synopsis</h2>
9
9
<a name="l10n.lang.value.rfc.compliant.frag"></a><pre class="programlisting">
10
10
&lt;xsl:param name="l10n.lang.value.rfc.compliant" select="1"&gt;&lt;/xsl:param&gt;
11
11
</pre>
12
12
</div>
13
13
 
14
 
<div class="refsection" title="Description"><a name="id36238130"></a><h2>Description</h2>
 
14
<div class="refsection"><a name="idp6908320"></a><h2>Description</h2>
15
15
 
16
16
<p>If non-zero, ensure that the values for all <code class="sgmltag-attribute">lang</code> attributes in HTML output are RFC
17
 
compliant<sup>[<a name="id36238150" href="#ftn.id36238150" class="footnote">4</a>]</sup>.
 
17
compliant<a href="#ftn.idp6910864" class="footnote" name="idp6910864"><sup class="footnote">[4]</sup></a>.
18
18
 
19
19
by taking any underscore characters in any <code class="sgmltag-attribute">lang</code> values found in source documents, and
20
20
replacing them with hyphen characters in output HTML files. For
21
21
example, <code class="literal">zh_CN</code> in a source document becomes
22
22
<code class="literal">zh-CN</code> in the HTML output form that source.
23
23
 
24
 
</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
 
24
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
25
25
<p>This parameter does not cause any case change in <code class="sgmltag-attribute">lang</code> values, because RFC 1766
26
26
explicitly states that all "language tags" (as it calls them) "are
27
27
to be treated as case insensitive".</p>
29
29
</p>
30
30
 
31
31
</div>
32
 
<div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a id="ftn.id36238150" href="#id36238150" class="para">4</a>] </sup>Section 8.1.1, <a class="ulink" href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1" target="_top">Language Codes</a>, in the HTML 4.0 Recommendation states that:
 
32
<div class="footnotes"><br><hr style="width:100; text-align:left;margin-left: 0"><div id="ftn.idp6910864" class="footnote"><p><a href="#idp6910864" class="para"><sup class="para">[4] </sup></a>Section 8.1.1, <a class="ulink" href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1" target="_top">Language Codes</a>, in the HTML 4.0 Recommendation states that:
33
33
 
34
34
</p><div class="blockquote"><blockquote class="blockquote"><p>[RFC1766] defines and explains the language codes
35
35
that must be used in HTML documents.</p>