• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Use of XML

 
Ranch Hand
Posts: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jimmy for providing the explanation.

Cheers..
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are welcome! And welcome to the JavaRanch - a friendly place for Java greenhorns!
 
A wop bop a lu bop a womp bam boom! Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic