Annotation of loncom/build/xfml.dtd, revision 1.3
1.1 harris41 1: <!--
2: XML Filter Markup Language version 1.0.
3:
4: Date: January 27, 2002
5: Author: Scott Harrison
6:
7: XML Filter Markup Language works to extract those sections
8: of an XML document matching certain conditions. This, in some
9: respects, relies on functionality similar to that expected
10: with XSL-type files. (I do not use standard XSL syntax because
11: I am not convinced that it would be simple and elegant for
12: this particular task).
13:
14: This is anticipated to be a very important feature associated
15: with a larger Makefile-ish type approach involving the XML dtds:
16: LPML and PIML.
17: LPML (Linux Packaging Markup Language) can work to install files
18: on a single computer or a distributed network of computers with
19: pre-configured ssh accessibility (.ssh/authorized_keys, etc).
20: PIML (Post Installation Markup Language) works to coordinate the
21: last little scripts that need to be run after an installation.
22: With all this make-"power", wouldn't it be nice to only pass through
23: portions of an LPML specification?
24:
25: -->
26: <!--
27:
28: Copyright Michigan State University Board of Trustees
29:
30: This file is part of the LearningOnline Network with CAPA (LON-CAPA).
31:
32: LON-CAPA is free software; you can redistribute it and/or modify
33: it under the terms of the GNU General Public License as published by
34: the Free Software Foundation; either version 2 of the License, or
35: (at your option) any later version.
36:
37: LON-CAPA is distributed in the hope that it will be useful,
38: but WITHOUT ANY WARRANTY; without even the implied warranty of
39: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40: GNU General Public License for more details.
41:
42: You should have received a copy of the GNU General Public License
43: along with LON-CAPA; if not, write to the Free Software
44: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
45:
46: /home/httpd/html/adm/gpl.txt
47:
48: http://www.lon-capa.org/
49:
50: -->
51:
52: <!-- Note: current status is that choice:include is currently unsupported and
53: all matching statements REQUIRE two levels of 'when' statements;
54: not one or more than two... okay.. this will be fixed soon -->
55:
56: <!ENTITY % xfml.Version
1.3 ! harris41 57: "-//TUX//DTD piml 1.0 Final//EN">
1.1 harris41 58:
1.3 ! harris41 59: <!-- Typical usage:
1.1 harris41 60:
61: <!DOCTYPE xfml PUBLIC "-//TUX//DTD PIML 1.0 Final//EN">
62: <xfml>
63:
64: </xfml>
1.3 ! harris41 65: -->
1.1 harris41 66:
1.3 ! harris41 67: <!ELEMENT choice:include (#PCDATA)>
! 68: <!ELEMENT choice:exclude (#PCDATA)>
1.1 harris41 69:
1.2 harris41 70: <!ELEMENT xfml (clause)+>
1.3 ! harris41 71: <!ELEMENT clause (when:cdata|when:name|when:attribute|choice:exclude)+>
1.1 harris41 72: <!ELEMENT when:name
73: (when:cdata|when:name|when:attribute|choice:include|choice:exclude)+>
74: <!ELEMENT when:attribute
75: (when:cdata|when:name|when:attribute|choice:include|
76: choice:exclude)+>
77: <!ELEMENT when:cdata
78: (when:cdata|when:name|when:attribute|choice:include|
79: choice:exclude)+>
80:
81: <!ATTLIST when:name
82: match CDATA #REQUIRED>
83: <!ATTLIST when:attribute
84: match CDATA #REQUIRED>
85: <!ATTLIST when:cdata
86: match CDATA #REQUIRED>
87: <!ATTLIST choice:include
88: nodename CDATA #REQUIRED>
89: <!ATTLIST choice:exclude
90: nodename CDATA #REQUIRED>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>