Returns a template document tree obtained from parsing the specified file.
Returns a template document tree obtained from parsing the specified file. Any kind of character input is valid, including empty files.
the file to use as input
the character encoding of the file, if not specified the platform default will be used.
Returns a template document tree obtained from parsing the file with the specified name.
Returns a template document tree obtained from parsing the file with the specified name. Any kind of character input is valid, including empty files.
the name of the file to parse
the character encoding of the file, if not specified the platform default will be used.
Returns a template document tree obtained from parsing the input from the specified reader.
Returns a template document tree obtained from parsing the input from the specified stream.
Returns a template document tree obtained from parsing the input from the specified stream.
the stream to use as input for the parser
the character encoding of the stream, if not specified the platform default will be used.
Returns a template document tree obtained from parsing the specified string.
Returns a template document tree obtained from parsing the specified string. Any kind of input is valid, including an empty string.
API for performing a parse operation for a template. Usually not called directly by application code unless a custom template parser needs to be installed.