XML keyword definitions
crism at oreilly.com
Thu Jul 9 18:11:11 BST 1998
> For this to work though, they need to understand the definition of
> the keywords in xml. Am I right in assuming the document type
> declarations and markup declarations which begin with an <! are all
> self-contained internal keywords which have no other dependencies.
Unless you care about getting external entities to work. If you do,
you'll need to check for entity declarations.
I've written a simple Perl script that loops through a file and
handles external entities. A better thing to do would be to use Larry
Wall's XML::Parser package, which is a wrapper on James Clark's
xmltok, but I'm having shared library problems...
I'm willing to share the Perl script with anyone who wants it; you can
see its current frivolous application as a Diplomacy board game report
generator at <URL:http://crism.ne.mediaone.net/cgi-bin/diplo.pl>.
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev