Skip to content

Instantly share code, notes, and snippets.

View ziqueiros's full-sized avatar
🏠
Working from home

ziqueiros ziqueiros

🏠
Working from home
View GitHub Profile
// Copyright 2003-2010 Christian d'Heureuse, Inventec Informatik AG, Zurich, Switzerland
// www.source-code.biz, www.inventec.ch/chdh
//
// This module is multi-licensed and may be used under the terms
// of any of the following licenses:
//
// EPL, Eclipse Public License, V1.0 or later, http://www.eclipse.org/legal
// LGPL, GNU Lesser General Public License, V2.1 or later, http://www.gnu.org/licenses/lgpl.html
// GPL, GNU General Public License, V2 or later, http://www.gnu.org/licenses/gpl.html
// AL, Apache License, V2.0 or later, http://www.apache.org/licenses
package xmlstudy;
import javax.xml.stream.*;
import java.net.URL;
import java.io.*;
/*
* XMLStreamReader is the key interface in StAX. This interface represents a cursor
that's moved across an XML document from beginning to end. At any given time, this
cursor points at one thing: a text node, a start-tag, a comment, the beginning of