question: private void buildTree ( PdfObject structTreeRootObj ) { root = doc . createElement ( "TaggedPDF-doc" ) ; doc . appendChild ( root ) ; traverseContentTree ( structTreeRootObj ) ; }
target:  scan down PDF struct object, creating XML tree