// Write to stdout with an XML declaration that specifies version 1.0.
// If the version is omitted then no XML declaration will be written.
PrologWAX pw = (PrologWAX) new WAX(Version.V1_0);
pw.dtd("http://www.ociweb.com/xml/music.dtd");
pw.xslt("artist.xslt");
StartTagWAX stw = pw.start("artist");
stw.attr("name", "Gardot, Melody");
stw.defaultNamespace("http://www.ociweb.com/music",
"http://www.ociweb.com/xml/music.xsd");