@tinyactors/scxmljs
    Preparing search index...

    Function parseSCXML

    • Parse SCXML text into its <scxml> element.

      Browsers have a DOMParser; Node, Bun and Deno don't, so pass one there (any standards-compliant implementation, e.g. happy-dom's or linkedom's).

      Parameters

      Returns Element

      code: "SCXML_NO_DOMPARSER" when no parser is available, code: "SCXML_PARSE" when the text isn't well-formed XML.