Tasks on this page:
New Document
Task: Create an Empty Document
Task: Parse a String into a New Document
Task: Parse an IO Stream into a New Document
Task: Create a Document from an Existing Document
Task: Clone a Document
Document Type
Task: Get the Document Type
Task: Set the Document Type
XML Declaration
Task: Get the XML Declaration
Task: Set the XML Declaration
Children
Task: Add an Element Child
Task: Add a Non-Element Child
Writing
Task: Write to $stdout
Task: Write to IO Stream
Task: Write with No Indentation
Task: Write with Specified Indentation
Querying
Task: Get the Document
Task: Get the Encoding
Task: Get the Node Type
Task: Get the Root Element
Task: Determine Whether Stand-Alone
Task: Get the Version