Month: July 2016

Transform XML documents with XSLT in Java

Transform XML documents with XSLT in Java XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents like CSS for HTML [...]

An Introduction to XPath with examples in Java

 Introduction to XPath with examples in Java XPath is a query language that defines syntax for selecting nodes from an XML document. With XPath you [...]

Introduction to DOM4J Parser in Java with example programs

Introduction to DOM4J Parser in Java with example DOM4J is an open source Java API that provides a powerful set of features to process, manipulate or [...]

Introduction to JDOM Parser in Java with example

Introduction to JDOM Parser in Java with example JDOM is an open source Java API which provides classes and methods to represent an XML document in a more [...]

An Introduction to DOM parser in Java

Introduction to DOM parser in Java DOM (Document Object Model) defines a standard for accessing and manipulating documents. DOM builds an in-memory tree [...]

Introduction to StAX parser in Java

Introduction to StAX parser in Java In my earlier post, I gave an introduction to SAX XML parser in Java. In this post we will see an Introduction to StAX [...]

Introduction to SAX parser in Java with example

Introduction to SAX parser in Java with example XML parsers reads an XML document and uses DOM or SAX based APIs to provide programmatic access to its content [...]

Java program for longest common substring

Java program for longest common substring Longest common substring is the substring of two or more strings. In this post, we will see Java program for [...]

Regex pattern matching in Java

Regex pattern matching in Java Regex or Regular expressions defines a pattern for searching strings. A regular expression is a sequence of characters that [...]

TreeSet with user defined objects in Java

TreeSet with user defined objects in Java TreeSet is an implementation of the Set interface that uses a TreeMap for storing elements. TreeSet [...]