Skip to main content

parse

Function parse 

Source
pub fn parse(xml: &str) -> Result<Document>
Expand description

Parse a TTML document from a string.

This is a convenience wrapper around Document::parse_str.