mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-24 13:53:54 +00:00
Estimated hours taken: 1 Add a sample directory in the XML parser directory extras/xml/README update the README file extras/xml/tryit.m modify the file to print out all output messages as well as any error messages extras/xml/samples a sample directory containing instructions on how to run the parser and some sample files extras/xml/samples/README README file extras/xml/samples/newsarticles.xml sample XML file for running the XML parser extras/xml/samples/newsarticles.dtd sample DTD file for running the XML parser extras/xml/samples/catalog a catalog file
25 lines
448 B
Plaintext
25 lines
448 B
Plaintext
|
|
This directory contains sample files for running the XML parser.
|
|
|
|
To build the parser, under extra/xml directory:
|
|
|
|
Step 0. mmake tryit.depend
|
|
|
|
Step 1. mmake tryit
|
|
|
|
|
|
To run the parser, under extra/xml/samples directory:
|
|
|
|
../tryit newsarticles.xml
|
|
|
|
|
|
The files in this directory are:
|
|
|
|
README this file.
|
|
catalog a catalog file
|
|
newsarticles.dtd a sample news article DTD file
|
|
newsarticles.xml a sample news article XML 1.0 file
|
|
|
|
|
|
|