fix some links and add FOSDEM 2017 talk to index
[slides.git] / fosdem2003 / l10ntalk_04.html
... / ...
CommitLineData
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3<head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
5 <meta name="Author" content="KaiRo - Robert Kaiser">
6 <title>L10n talk - FOSDEM 2003 - Mozilla Meeting</title>
7 <link rel="stylesheet" type="text/css" href="l10ntalk.css">
8 <link rel="contents" href="index.html" title="Contents">
9 <link rel="index" href="l10ntalk_overview.html" title="Overview">
10 <link rel="start" href="index.html" title="Start">
11 <link rel="first" href="l10ntalk_01.html" title="First page">
12 <link rel="previous" href="l10ntalk_03.html" title="Previous page">
13 <link rel="next" href="l10ntalk_05.html" title="Next page">
14 <link rel="last" href="l10ntalk_12.html" title="Last page">
15</head>
16<body>
17
18<h1>using more than one DTD file</h1>
19
20<div class="explanation">
21If we need more than one DTD file for one XUL file, we're using <b>external entities
22inside the XUL file's DOCTYPE</b> declaration.
23</div>
24
25<div class="sample">
26<p class="sampledesc">Sample XUL: openLocation.xul</p>
27<div class="samplecontent">
28&lt;?xml version=&quot;1.0&quot;?&gt;
29<br>&lt;!DOCTYPE dialog [
30<br>&nbsp;&nbsp;&lt;!ENTITY % brandDTD SYSTEM &quot;chrome://global/locale/<b>brand.dtd</b>&quot; &gt;
31<br>&nbsp;&nbsp;%brandDTD;
32<br>&nbsp;&nbsp;&lt;!ENTITY % openDialogDTD SYSTEM &quot;chrome://communicator/locale/<b>openLocation.dtd</b>&quot; &gt;
33<br>&nbsp;&nbsp;%openDialogDTD;
34<br>]&gt;
35<br>&lt;dialog ... title=&quot;<span class="hilite">&amp;brandShortName;</span> - <span class="hilite">&amp;caption.label;</span>&quot;&gt;
36<br>...
37<br>&lt;description&gt;<span class="hilite">&amp;enter.label;</span>&lt;/description&gt;
38<br>...
39<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem value=&quot;0&quot; id=&quot;currentWindow&quot; label=&quot;<span class="hilite">&amp;topWindow.label;</span>&quot;/&gt;
40<br>...
41<br>&lt;/dialog&gt;
42</div>
43</div>
44
45<div class="sample">
46<p class="sampledesc">Sample DTD: openLocation.dtd</p>
47<div class="samplecontent">
48&lt;!ENTITY <span class="hilite">caption.label</span> &quot;Open Web Location&quot;&gt;
49<br>&lt;!ENTITY <span class="hilite">enter.label</span> &quot;Enter the web location (URL), or specify the local file you would like to open:&quot;&gt;
50<br>&lt;!ENTITY <span class="hilite">topWindow.label</span> &quot;Current Navigator window&quot;&gt;
51</div>
52</div>
53
54<div class="sample">
55<p class="sampledesc">Sample DTD: brand.dtd</p>
56<div class="samplecontent">
57&lt;!ENTITY <span class="hilite">brandShortName</span> &quot;Mozilla&quot;&gt;
58</div>
59</div>
60
61</body>
62</html>