Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use of XML

 
pramod talekar
Ranch Hand
Posts: 328
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm new to Java.
I have learned Java & Servlet/JSP. Currently I'm reading XML.
Could you please tell me where XML is used/it's role, I know that it's used for data transformation.
Can you suggest a practical example / a link so that I can get a clear idea.

I'm yet to read Web services, SOAP etc.

 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The eXtensible Markup Language (XML) is a simplified form of SGML and is a meta-language for creating markup languages. Examples of markup languages are:
the elements and attributes of a Java web application's web.xml file, the elements and attributes of a Struts configuration file, SOAP, WSDL, FpML, DocBook, BPML, etc. These are commercial examples of XML-based markup languages, there are many, many others. And many proprietary ones that are specific to internal apps at a specific company,

Check out the http://xml.coverpages.org/ website for a few resouces.

Aside, the actual languages are used to describe data, not transform it. There are transformation tools and concepts that work with XML-based data to execute data transformation. However, this is what is "done" with data in XML-format, not the purpose of XML itself. There are many other ways it is used, the Java web apps web.xml file is a good example.

Good luck!
 
pramod talekar
Ranch Hand
Posts: 328
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jimmy for providing the explanation.

Cheers..
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are welcome! And welcome to the JavaRanch - a friendly place for Java greenhorns!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic