Archive for March, 2010

Be Like a River

To be like a river that flows silent through the night, not fearing the darkness and reflecting any stars high in the sky. And if the sky is filled with clouds, the clouds are water like the river, so without remorse reflect them too” http://paulocoelhoblog.com/

SAXParser Example

// —————————————————————————– // SAXExample.java // —————————————————————————– // imports import java.io.*; import java.net.URL; import org.xml.sax.*; import org.xml.sax.helpers.DefaultHandler; import javax.xml.parsers.SAXParserFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; /** * —————————————————————————– * Demonstrate how to use SAX. * * @version 1.0 * @author Muhammad Abid (abidshafiq479@hotmail.com) * @author http://www.techstop.abidshafiq.com * —————————————————————————– */ public class SAXExample extends HandlerBase{ // Store the locator [...]