summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-05-01 22:33:29 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-05-01 22:49:14 +0200
commitcc6a5d57ea9016b8881d5c1e49e56267b1e9c951 (patch)
treeffa3f76995bfa3f4619c87da29d2bfee2b2489d0 /docs-xml
parent2bda1a8885a30e10df597ed10a87388303791348 (diff)
downloadsamba-cc6a5d57ea9016b8881d5c1e49e56267b1e9c951.tar.gz
samba-cc6a5d57ea9016b8881d5c1e49e56267b1e9c951.tar.bz2
samba-cc6a5d57ea9016b8881d5c1e49e56267b1e9c951.zip
Use <example> + <smbconfblock> rather than nonexistant element
<smbconfexample>.
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/Samba3-HOWTO/TOSHARG-NetworkBrowsing.xml6
-rw-r--r--docs-xml/build/DTD/samba-doc4
2 files changed, 8 insertions, 2 deletions
diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-NetworkBrowsing.xml b/docs-xml/Samba3-HOWTO/TOSHARG-NetworkBrowsing.xml
index 58aaa29d17..d732f3a31d 100644
--- a/docs-xml/Samba3-HOWTO/TOSHARG-NetworkBrowsing.xml
+++ b/docs-xml/Samba3-HOWTO/TOSHARG-NetworkBrowsing.xml
@@ -898,14 +898,16 @@ in <link linkend="xremmb">&smb.conf; for Not Being a master browser</link>
</para>
<para>
-<smbconfexample id="xremmb">
+<example id="xremmb">
<title>&smb.conf; for Not Being a master browser</title>
+<smbconfblock>
<smbconfsection name="[global]"/>
<smbconfoption name="domain master">no</smbconfoption>
<smbconfoption name="local master">no</smbconfoption>
<smbconfoption name="preferred master">no</smbconfoption>
<smbconfoption name="os level">0</smbconfoption>
-</smbconfexample>
+</smbconfblock>
+</example>
</para>
</sect2>
diff --git a/docs-xml/build/DTD/samba-doc b/docs-xml/build/DTD/samba-doc
index 88bfec5e1d..8de97290cb 100644
--- a/docs-xml/build/DTD/samba-doc
+++ b/docs-xml/build/DTD/samba-doc
@@ -11,6 +11,8 @@
<!ENTITY % local.linespecific.class "|smbconfblock">
<!ENTITY % local.informal.class "|imagefile">
+<!-- Include the DocBook DTD, of which this DTD is an extension -->
+
<!ENTITY % DocBookDTD
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
@@ -21,6 +23,8 @@
"samba.entities">
%samba.entities;
+<!-- smb.conf options -->
+
<!ELEMENT smbconfblock ((smbconfoption|smbconfsection|smbconfcomment)*)>
<!ELEMENT smbconfcomment (#PCDATA)>
<!ELEMENT smbconfsection EMPTY>