pub fn parse_file_as_document_fragment(
fm: &SourceFile,
context_element: &Element,
mode: DocumentMode,
form_element: Option<&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
.