Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 08-18-2006, 02:00 AM   #1 (permalink)
j.gohel
Code Monkey
 
Join Date: Apr 2005
Posts: 68
j.gohel is on a distinguished road
Regarding XML

Hi,

I am a Java programmer and i dont have much knowledge about XML.
But if i learn XML then how can it help me improve my programming.

Also to learn XML should i refer general XML books or Java-XML related books.

Also Please suggest me some good XML which i can read with fun.
Please let me know how XML is useful in today's scenario??

Regards,
Jignesh
j.gohel is offline   Reply With Quote
Old 08-18-2006, 08:19 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
xml is a markup language (pretty much like html) that is used to hold data structures.

it will benefit you because it will allow you to send and recieve structured data to external applications.

for example, UPS has a web service that provides you with shipping quotes. you send them your request structured in an XML format, and they will send you a response. it does not matter what language their app is written in, and it doesn't matter what OS their APP is hosted on.

another example might be to use XML as a configuration file for your application. user's these days are somewhat comfortable modifying an XML file to set user configurations. you can read in their config to customize your app. alternatively, you could easily use a Java library to modify the configuration file if you would like to maintain information while your program is not running without a database.

Don't worry too much about understanding everything about XML/XSL. Most of the time you only are going to have to worry about reading or writing to a file.

I don't have any books I can recommend, but I would suggest just looking up a tutorial on how to read and write an XML file with Java.

Here is an example of reading an XML file with Java. I'm sure there are many others around.
__________________
Mike
sde is offline   Reply With Quote
Old 08-21-2006, 05:24 PM   #3 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 596
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
XML is a drop-in solution to anything you need to read from or write to file but don't want to invest the time in writing a custom parser for.
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
xml - php - mysql Hooch HTML, XML, Javascript, AJAX 5 05-23-2006 04:32 AM
How to re-organized XML file and call XML file from my software bella_11041988 HTML, XML, Javascript, AJAX 10 05-16-2006 09:03 PM
PHP/XML Tutorials? Admin PHP 6 04-25-2005 01:38 PM
sending an xml request sde PHP 3 09-25-2003 12:38 PM
weather function? Admin PHP 3 06-17-2002 11:37 AM


All times are GMT -8. The time now is 05:16 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting