Download and install the Common Lisp Open Code Collection (CLOCC). It includes many utilities, but the one you need is the XML parser. Use these instructions on how to install and use the CLOCC XML parser.

Test the parser

Download the file test-bugs.xml and save it in your CS 325 code directory.

Call xml-read-from-file on test-bugs.xml and save the result in a variable. The result should be a list of two XML objects, one for the XML version element, and one for the XML root element. The root element is the main XML element that contains all the real data. A well-formed XML file has only one root element.

Evaluate calls to the three functions xmlo-nm, xmlo-args and xmlo-data, applying each to the root element saved from the xml-read-from-file call.

Submit Report

Email the following in PLAIN TEXT format (no attachments, no HTML or Rich Text) to c-riesbeck@northwestern.edu


Comments? Comments icon Send mail to Chris Riesbeck. Put EECS 325 in the Subject.