README for perlSGML
97/09/18 14:52:07
Copyright (C) 1994-1997 Earl Hood, ehood@medusa.acs.uci.edu
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 should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
CHANGES/ Directory containing revision history of software. COPYING GNU General Public License. MANIFEST File listing used by install.me README.1ST The file you are reading. VERSIONS Version list of programs, libraries, and modules. doc/ Documentation. dtd2html Create HTML files to navigate a DTD. dtddiff List changes in a DTD. dtdtree Output content hierarchies of SGML elements. dtdview Interactively query a DTD. ebt/ Programs specific to EBT's DynaText(tm) product. ents/ SGML entity files. examples/ Directory containing example files/output of programs. install.me Installation program. lib/ Perl libraries and modules old/ Old versions of programs sgm/ Sample SGML files (mostly DTDs) stripsgml Strip tags from an SGML document instance.
*Denotes programs
To install the perlSGML software, type the following at your shell prompt:
perl install.me
Notes on Installation Program
Manual installation should only be required if you are running a Perl 4 interpreter. Some parts of perlSGML are unusable using Perl 4; see the RELEASE NOTES below for the components of perlSGML that are Perl 4 compatible.
For the Perl 4 compatible components, do the following:
unshift(@INC, "/path/to/lib/files");
where "/path/to/lib/files/" is the path to where
copied the library files to. Note, for Windows/MSDOS
user, you will have to use "\\" (w/o the quotes)
as the directory separator if using double quotes
to delimit the path. For example:
unshift(@INC, "C:\\path\\to\\lib\\files");
Note, if the location you copied the libraries are
already part of Perl's standard library search path,
you do not need to add the unshift() statement.
Much of the perlSGML software is still Perl 4 compatible. The following should run under Perl 4: dtd2html, dtddiff, dtdtree, dtdview, dtd.pl, sgml.pl. Perl 4 programs that have been replaced will be located in the "old" directory of distribution. As noted under INSTALLATION, if you you are using Perl 4, you will have to install the software manually since the "install.me" program requires Perl 5 to run.
Documentation is located in the directory doc/. The documentation is in HTML. The documentation is separated in multiple files. Loading "perlSGML.html" into a WWW browser will get you started.
Note The term "internal" refers to a parameter entity
whose content is directly defined in the parameter
entity declaration and not by an external
indentifier. For example,
<!ENTITY % foo "(some|content)">
This bug will only be a problem if you have DTDs that have
internal parameter entities that contain complete markup
declarations which are referenced. These cases seem to be
the exception instead of the norm (the bug, or limitation,
went unnoticed for over 3 years).
If you have any bugs/comments/suggestions, feel free to drop me an e-mail message at ehood@medusa.acs.uci.edu.
If it is a bug you are reporting, please include the following in your message:
Before sending e-mail, make sure the documentation does not already have an answer to your question/problem.