JavaBeat

  • Home
  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
    • Join Us (JBC)
  • Privacy

Use Trang to Generate XSD from XML File

November 5, 2013 by Krishna Srinivasan Leave a Comment

XML schema used for defining the restriction on XML data structure. It is adding the highly validated data structure and useful for defining the types for the data in XML files. In a normal practice, first a developer creates a XSD (schema) with validations or enforcement for the XML structure, later all the XML files […]

Filed Under: XML Tagged With: XML Schema

How To Convert Properties File Into XML File Using Java?

October 27, 2013 by Krishna Srinivasan Leave a Comment

In my previous tutorials I have explained about how to use DOM Parser and SAX Parser. This tutorial explain with very simple utility method available in the Java package used for converting your existing properties file to a XML file. Sometimes this may be the requirement for Java developers, instead of manually converting properties file […]

Filed Under: XML Tagged With: XML

How to Parse XML file using SAX Parser?

October 27, 2013 by Krishna Srinivasan Leave a Comment

In my previous article I had written the example program for parsing a simple XML file using the DOM parser. As I have mentioned in the earlier posts, DOM and SAX are the two popular parser used for reading and manipulating the XML files. If you use any of the XML utility like JAXB for […]

Filed Under: XML Tagged With: XML

How to Parse XML file using DOM Parser?

October 26, 2013 by Krishna Srinivasan Leave a Comment

In this tutorial I will write a simple example program for parsing a XML file using the DOM parser. DOM parser reads the entire XML file and loads into the memory. It forms a tree structure in the memory and returns the element details when queried. It is the faster when comparing to the SAX […]

Filed Under: XML Tagged With: XML

Generate XSD from XML files

April 12, 2012 by Krishna Srinivasan Leave a Comment

XSD is the XML schema definition for defining the XML elements in the XML document. Prior to the XML schemas, DTDs are used which are not XML document and has the limitations. XSD is most popular because of the extensibility and the validations for the XML files. You can set the validation rules for the […]

Filed Under: XML Tagged With: XML, XSD

JAXB Exception : nor any of its super class is known to this context

April 3, 2012 by Krishna Srinivasan Leave a Comment

When you are working with the JAXB objects, there are some times you would encounter the exception saying the “nor any of its super class is known to this context”. The reason for this error could be many reasons it depends on the environment you are working. The simple solution for fixing the problem is […]

Filed Under: XML Tagged With: JAXB

What is XPath?

April 3, 2009 by Krishna Srinivasan Leave a Comment

Processing XML documents with Oracle JDeveloper 11g While a number of books on XML are available, none covers XML support in Oracle JDeveloper. Welcome to Processing XML documents with Oracle JDeveloper 11g, a book that will teach you about using Oracle XML technologies in Oracle JDeveloper. XML is the standard medium of data exchange. Examples of data exchange using […]

Filed Under: XML Tagged With: XPath

XML Schema Elements – Part2

March 25, 2009 by Krishna Srinivasan Leave a Comment

Complex Elements Complex elements are those which contain other elements as children or these elements have attributes. Empty elements and elements containing only text are also considered complex. The following is an examples of complex element Define Complex Type in XML schema Complex types can be defined in XML schema as demonstrated in this example: […]

Filed Under: XML Tagged With: XML Schema

XML Schema Elements

March 21, 2009 by Krishna Srinivasan Leave a Comment

XML schema is a language for describing the contents and structure of a XML document. It basically creates a blue print of the actual XML document by describing everything about the elements which can appear in the document. By creating a XML schema we make the XML document conform to the rules defined in the […]

Filed Under: XML Tagged With: XML Schema

Creating XSLT documents

March 12, 2009 by Krishna Srinivasan Leave a Comment

Introduction XSLT is used for the transformation of XML documents into XHTML. We know that HTML uses predefined set of tags which can be interpreted by the browser. However this is not true for XML documents. XML does not use predefined set of tags. Hence, if we open an XML document in browser we cant […]

Filed Under: XML Tagged With: XSLT

  • 1
  • 2
  • Next Page »

Follow Us

  • Facebook
  • Pinterest
JavaBeat

FEATURED TUTORIALS

Servlet Life Cycle: Explanation

Servlet Life Cycle: Explanation

What is new in Java 6.0 Collections API?

The Java 6.0 Compiler API

The Java 6.0 Compiler API

Copyright © by JavaBeat · All rights reserved

This website uses cookies to ensure you get the best experience on our website. Learn more.