SimpleDateFormat (Parse Date)

Date conversions are very common scenarios in any application., Java Provides SimpleDateFormat class for String to Date, Date to String conversions. The below example shows How String format can be converted to Date Format. How to find difference between 2 Dates. Code:


Tranform XML using XSLT

To transform XML to another XML/HTML/TEXT format using XSLT., we need the following files. Input XML (.xml) XSLT file which contains the transformation script. (.xsl) The below XML (input.xml) input file, can be transformed into a html with the xsl (trans.xsl) file. Sample Input XML:File: input.xml

In the above XML file, we could see …

Tranform XML using XSLT Read More »

What is XSLT?

XSLT is called as Extensible Stylesheet Language Tranformations. XSLT is a language to transform an XML document to another documents, like XML documents, HTML documents, Text Documents etc., Its a transformation language mainly used for transformation. For transformation of a XML Documents, the following file formats are used. An Input XML document which needs to …

What is XSLT? Read More »

XML – What is XPath?

The XPath language is a tree representation of XML documents. It allows the user to navigate around the document’s tree, selecting nodes by various criteria. Originally created to provide a common language and behavior model between XSLT and XPointer, XPATH is often used in other W3C standards


DOM – Document Object Model is a language independent interface where each Node is an Object provides the data of the document in the XML tree structure. The standard is maintained by W3C (Word Wild Web Consortium) XML DOM provides the details to get, change, add & delete XML elements in a XML document. Output …

XML Dom Read More »

XML Tree & Nodes

In a XML Document, each Element is called as Nodes., More than one Nodes, when they are linked together forms an XML., An XML contains one single parent element, and any number of child elements, and each child element again contains child elements on its own., and totally we can refer it as XML Tree., …

XML Tree & Nodes Read More »

XML Introduction

XML – Extensible MarkUp Language What is MarkUp Language? Markup language is a language that defines the format of document or web page, so that the browser/systems understands and apply the formats to the contents and visually provide formatted contents to the users. Markup languages are used only to format the text.,and while displaying the …

XML Introduction Read More »