@federicocarboni/saxe
    Preparing search index...

    Interface SaxLexicalHandler

    interface SaxLexicalHandler {
        comment?(content: string): void;
        doctype?(doctype: Doctype): void;
        endCDataSection?(): void;
        processingInstruction?(target: string, content: string): void;
        startCDataSection?(): void;
        xmlDecl?(xmlDecl: XmlDeclaration): void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • A comment.

      <!-- content -->
      

      Parameters

      • content: string

        Comment content, whitespace is not trimmed or normalized.

      Returns void

    • Document type declaration.

      <!DOCTYPE example PUBLIC "-//Example//example" "./example.dtd">
      

      This handler is called before parsing any markup declarations.

      Parameters

      Returns void

    • End of a CDATA section.

      ]]>
      

      Returns void

    • A processing instruction.

      <?target content?>
      

      Parameters

      • target: string

        Processing instruction target, used to identify the application to which the instruction is directed.

      • content: string

        Processing instruction content, whitespace is not trimmed or normalized.

      Returns void

    • Start of a CDATA section.

      <![CDATA[
      

      Returns void