Creates a copy, but with the new documentElement passed as parameter newRoot
Creates a copy, but with the new xmlDeclarationOption passed as parameter newXmlDeclarationOption
Returns the document element
Returns the document element
Returns the optional document URI, wrapped in an Option
Returns the optional document URI, wrapped in an Option
Document, containing an "indexed" document element.
Note that class
IndexedDocumentdoes not have any query methods forEleminstances. In particular, theElemApidoes not apply to documents. Therefore, given a document, querying for elements (other than the document element itself) always goes via the document element.