1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
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">
18 <h1>using more than one DTD file</h1>
20 <div class="explanation">
21 If we need more than one DTD file for one XUL file, we're using <b>external entities
22 inside the XUL file's DOCTYPE</b> declaration.
26 <p class="sampledesc">Sample XUL: openLocation.xul</p>
27 <div class="samplecontent">
28 <?xml version="1.0"?>
29 <br><!DOCTYPE dialog [
30 <br> <!ENTITY % brandDTD SYSTEM "chrome://global/locale/<b>brand.dtd</b>" >
31 <br> %brandDTD;
32 <br> <!ENTITY % openDialogDTD SYSTEM "chrome://communicator/locale/<b>openLocation.dtd</b>" >
33 <br> %openDialogDTD;
35 <br><dialog ... title="<span class="hilite">&brandShortName;</span> - <span class="hilite">&caption.label;</span>">
37 <br><description><span class="hilite">&enter.label;</span></description>
39 <br> <menuitem value="0" id="currentWindow" label="<span class="hilite">&topWindow.label;</span>"/>
46 <p class="sampledesc">Sample DTD: openLocation.dtd</p>
47 <div class="samplecontent">
48 <!ENTITY <span class="hilite">caption.label</span> "Open Web Location">
49 <br><!ENTITY <span class="hilite">enter.label</span> "Enter the web location (URL), or specify the local file you would like to open:">
50 <br><!ENTITY <span class="hilite">topWindow.label</span> "Current Navigator window">
55 <p class="sampledesc">Sample DTD: brand.dtd</p>
56 <div class="samplecontent">
57 <!ENTITY <span class="hilite">brandShortName</span> "Mozilla">