method

new

new(text, strict=false, xml=false)
public

Create a new Document from the given text.