make tree optional. to create/add a tree view to the output, call: oscdoc a.xml outdir 1