Function mtml_parser::parser::parse

source ·
pub fn parse(input: &str) -> Result<Node, String>
Expand description

Parse MTML document and return AST.

Examples

use mtml_parser::parse;

parse("<body><mt:Entries><mt:EntryTitle /></mt:Entries></body>");