xslt-processor - v4.8.0
    Preparing search index...

    Class XmlParser

    Original author: Steffen Meschkat mesch@google.com (the xmlParse function, now xmlStrictParse).

    An XML parse and a minimal DOM implementation that just supports the subset of the W3C DOM that is used in the XSLT implementation.

    Index

    Constructors

    Properties

    regexEmpty: RegExp = ...
    XML10_TAGNAME_REGEXP: RegExp = ...
    XML10_ATTRIBUTE_REGEXP: RegExp = ...
    XML11_TAGNAME_REGEXP: RegExp = ...
    XML11_ATTRIBUTE_REGEXP: RegExp = ...
    lenientHtmlTags: string[] = ...

    Methods

    • The entry point for this parser. It verifies whether the document seems to be HTML. HTML is a special case if XML and it should be parsed differently.

      Parameters

      • xmlOrHtml: string

        The XML or HTML content to be parsed.

      Returns XDocument

      A DOM document.