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