-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmakefaq-xml-1-0.dtd
55 lines (39 loc) · 1.8 KB
/
makefaq-xml-1-0.dtd
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!--
================================================================
Makefaq XML DTD version 1.0
$Id: makefaq-xml-1-0.dtd,v 1.1 2002/02/19 12:07:33 dyork Exp $
Copyright (c) 2002 Dan York
This DTD id designed to be used with XML data files for 'makefaq'
found at: http://www.lodestar2.com/software/makefaq/
The formal public identifer for this DTD should be:
"-//Dan York/DTD Makefaq V1.0//EN"
An example of using it in an XML file would be the following:
<?xml version="1.0"?>
<!DOCTYPE faq PUBLIC "-//Dan York/DTD Makefaq V1.0//EN"
"http://www.lodestar2.com/software/makefaq/makefaq-xml-1-0.dtd">
================================================================
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You can obtain a copy of the GPL at
http://www.fsf.org/copyleft/gpl.html or by writing tothe
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
================================================================
-->
<!ELEMENT faq (entry+)>
<!ELEMENT entry (category, question, answer)>
<!ELEMENT category (#PCDATA)>
<!ELEMENT question (#PCDATA)>
<!ELEMENT answer (#PCDATA)>
<!--
It might be interesting to make the category an attribute
of <entry>. To do so, the DTD code would be:
<!ATTLIST entry
category CDATA #REQUIRED>
-->