Listing 4: XMLStreamReader Output
Event Type:COMMENT
Comment Text:A OReilly Journal Catalog
Event Type: PROCESSING_INSTRUCTION
PI Target:catalog
PI Data:journal="OReilly"
Event Type: START_ELEMENT
Element Prefix:journal
Element Local Name:catalog
Namespace URI:http://OnJava.com/Journal
Attribute Prefix:xsi
Attribute Namespace:http://www.w3.org/2001/XMLSchema-instance
Attribute Local Name:noNamespaceSchemaLocation
Attribute Value:file://c:/Schemas/catalog.xsd
Attribute Prefix:
Attribute Namespace:null
Attribute Local Name:publisher
Attribute Value:OReilly
Event Type: CHARACTERS
Text:
Event Type: START_ELEMENT
Element Prefix:journal
Element Local Name:journal
Namespace URI:http://OnJava.com/Journal
Attribute Prefix:
Attribute Namespace:null
Attribute Local Name:date
Attribute Value:January 2004
Attribute Prefix:
Attribute Namespace:null
Attribute Local Name:title
Attribute Value:ONJava
Event Type: CHARACTERS
Text:
Event Type: START_ELEMENT
Element Prefix:null
Element Local Name:article
Namespace URI:null
Event Type: CHARACTERS
Text:
Event Type: START_ELEMENT
Element Prefix:null
Element Local Name:title
Namespace URI:null
Event Type: CHARACTERS
Text:Data Binding with XMLBeans
Event Type: END_ELEMENT
Event Type: CHARACTERS
Text:
Event Type: START_ELEMENT
Element Prefix:null
Element Local Name:author
Namespace URI:null
Event Type: CHARACTERS
Text:Daniel Steinberg
Event Type: END_ELEMENT
Event Type: CHARACTERS
Text:
Event Type: END_ELEMENT
Event Type: CHARACTERS
Text:
Event Type: END_ELEMENT
Event Type: CHARACTERS
Text:
Event Type: START_ELEMENT
Element Prefix:journal
Element Local Name:journal
Namespace URI:http://OnJava.com/Journal
Attribute Prefix:
Attribute Namespace:null
Attribute Local Name:date
Attribute Value:July 2004
Attribute Prefix:
Attribute Namespace:null
Attribute Local Name:title
Attribute Value:java.net
Event Type: CHARACTERS
Text:
Event Type: START_ELEMENT
Element Prefix:null
Element Local Name:article
Namespace URI:null
Event Type: CHARACTERS
Text:
Event Type: START_ELEMENT
Element Prefix:null
Element Local Name:title
Namespace URI:null
Event Type: CHARACTERS
Text:Hibernate: A Developer's Notebook
Event Type: END_ELEMENT
Event Type: CHARACTERS
Text:
Event Type: START_ELEMENT
Element Prefix:null
Element Local Name:author
Namespace URI:null
Event Type: CHARACTERS
Text:James Elliott
Event Type: END_ELEMENT
Event Type: CHARACTERS
Text:
Event Type: END_ELEMENT
Event Type: CHARACTERS
Text:
Event Type: END_ELEMENT
Event Type: CHARACTERS
Text:
Event Type: END_ELEMENT
Event Type:END_DOCUMENT
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.