File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Use of XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Use of XML" Watch "Use of XML" New topic
Author

Use of XML

pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

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.


Thanks,
Pramod
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
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

Joined: Apr 26, 2010
Posts: 316

Thanks Jimmy for providing the explanation.

Cheers..
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
You are welcome! And welcome to the JavaRanch - a friendly place for Java greenhorns!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Use of XML
 
Similar Threads
A newbie's question
Payment and Seat reservation....in the same tx ?
XML Schema parsing
using Apache FOP to generate PDF from Java value objects
Assignment Log Project