* Prints an SVG document from the given reader to the given writer.
*/
public void print(Reader r, Writer w) throws TranscoderException,
IOException {
try {
scanner = new XMLScanner(r);
output = new OutputManager(this, w);
writer = w;
type = scanner.next();
printXMLDecl();