due: Wednesday, Nov 16
Write a DTD and an interpreter for the scripting language consisting of the following instructions.
<get name="..." file="..." />
|
<set name="...">
<![CDATA[ ... ]]> </set> |
<if xml="..." dtd="..." root="..." >
... </if> |
<xslt name="..." xml="..." xsl="..." />
|
Note that an XSLT file is just a restricted kind of XML code.
<dom name="..." xml="..." method="..." class="..." />
|
<sax name="..." xml="..." content-handler="..." />
|
If the xml attribute is not internally known, a file name is assumed. If the name attribute is missing the returned value is ignored.
<print name="..." file="..." />
|
<pipeline> ... </pipeline>
|
The Reflection API, Tutorial, Sun Microsystems, http://java.sun.com/docs/books/tutorial/reflect/TOC.html.