Scala 2.6.0-RC2
API Specification

This document is the API specification for Scala Library Documentation

Class Summary
`case class` | ElemEnd (`val` pre : String, `val` label : String)`extends` XMLEvent `with` Product
`case class` | ElemStart (`val` pre : String, `val` label : String, `val` attrs : MetaData, `val` scope : NamespaceBinding)`extends` XMLEvent `with` Product
`trait` | XMLEvent `extends` AnyRef This class represents an XML event for pull parsing.
`class` | XMLEventReader `extends` Iterator[XMLEvent] A pull parser that offers to view an XML document as a series of events. Please note that this API might change. Here's how to use this class
      import scala.xml._
      import scala.xml.pull._
      import scala.io.Source

      object reader {
        val src = Source.fromString("")
        val er = new XMLEventReader().initialize(src)

        def main(args: Array[String]) {
          Console.println(er.next)
          Console.println(er.next)
        }
      }