-
Notifications
You must be signed in to change notification settings - Fork 9
/
dtd2pl.1
52 lines (46 loc) · 1.22 KB
/
dtd2pl.1
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
.TH SWI 1 "March 8, 2000"
.SH NAME
dtd2pl \- Convert SGML DTD files to Prolog
.SH SYNOPSIS
.BR dtd2pl
.I "dtd-file"
.br
.SH DESCRIPTION
The Program
.BI dtd2pl
Provides a crude translation of an SGML DTD files into a Prolog database.
Curently a DTD is translated into a Prolog
.B module
named
.IR "<doctype>_dtd" "."
This module does no export any predicates. The DTD is represented using
the following predicates.
.SH Predicates
.TP
.BI "element(" "Name," " omit(" "Open, Close" ")," " Content" ")"
.TP
.BI "include(" "Element, Included" ")"
.TP
.BI "exclude(" "Element, Excluded" ")"
.TP
.BI "attribute(" "Element, Name, Type, Default" ")"
.SH ENVIRONMENT
.TP
.BI "SGML_CATALOG_FILES " "file" ":" "file ..."
Catalog files are used to resolve
.B PUBLIC
identifiers of external
.B entities.
.SH BUGS
Lacks many options to tailor the output to a specific needs.
.SH AUTHOR
Jan Wielemaker, SWI, University of Amsterdam
.SH "SEE ALSO"
.I swipl(1) swipl-ld(1)
.I SWI-Prolog 3.1 Reference Manual,
University of Amsterdam, Dept. of Social Science and Informatics (SWI).
.SH COPYRIGHT
Copyright (C) 1991-2016, University of Amsterdam, VU University Amsterdam.
This code may be distributed under the Simplified BSD license.
.SH AUTHOR
Jan Wielemaker