Saxonberg Server API
    Preparing search index...

    Function parseToTree

    • Parse an MML body into a tree. Recursive-descent over the tag grammar; tolerates unclosed tags by treating remaining input as text once the close fails to match. Decodes entities in text and attribute values per the established contract.

      Parameters

      • body: string

      Returns MmlNode[]