pub fn parse_file_as_document_fragment(
    fm: &SourceFile,
    context_element: Element,
    config: ParserConfig,
    errors: &mut Vec<Error>
) -> PResult<DocumentFragment>
Expand description

Parse a given file as DocumentFragment.

If there are syntax errors but if it was recoverable, it will be appended to errors.