Skip to content
FutureBlitz

    Install

    Import std.data.xml_reader

    XmlEvent

    std.data.xml_reader

    class

    Public Class XmlEvent

    One part of a document, from an XmlReader.

    Examples

    Local reader = XmlReader("<a x=\"1\"/>")
    Local start = Try reader.Next()
    Expect(start != Null)
    If start == Null Then Return
    Expect(start.Kind == XmlEventKind.START && start.Name == "a")
    Expect(start.Attributes.Get("x") == "1")

    std/data/xml_reader.fb, line 44

    • Public ReadOnly Field Kind: XmlEventKind field #

      Which part of the document it is.

    • Public ReadOnly Field Name: String field #

      A START's or END's element name, or an INSTRUCTION's target.

    • Public ReadOnly Field Text: String field #

      A TEXT's, CDATA's, COMMENT's, or INSTRUCTION's text.

    • Public ReadOnly Field Attributes: Map<String, String> field #

      A START's attributes, by name, in the order they're written, then their defaults'.

    Report an issue with this page or with FutureBlitz on GitHub.