Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I learn XML On My own?

 
Rajani Deshpande
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i was wondering if i can learn And code XML on My own. What all should i download to get the XML code running? Or is only a IE 5 enough?
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun has a tutorial on XML, you can start there http://java.sun.com/xml/tutorial_intro.html
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Does it require a sound JAVA backing !!!
Zaeem
 
bpearce4827
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I looked around for some good tutorials when I first started researching XML and found that the tutorial on the IBM site helped me the most:
http://www-4.ibm.com/software/developer/education/xmljava/
It does require some knowledge of Java, and in order to repeat the examples you will need the JDK (or other environment).
 
Junaid Bhatra
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajani,
Like others have said before, try the tutorials on Sun & IBM's web-sites, they are really good introductions.
You might also wanna get a decent book like XML by example, which seems to be a good introductory book.
Also I would strongly suggest you check out the JavaOne presentation on XML given by Doug Tidwell, available as a web-cast (titled XML programming in the Java programming language).
In addition, you'll need a good XML parser. The Xerces parser(xml.apache.org) is a good choice.
 
Mirko Froehlich
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also take a look at "http://www.xml.com" and "http://www.xml.org". Both sites have some useful XML resources and many links to other good XML sites.
-Mirko
 
Raj Devaraj
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have both XML by Example and Step by Step XML. XML by Example is not really well written. The book size could have been halved and still conveyed all the XML info. Step by Step XML is very good. It is very focussed and on the subject. No digression. It is a very good beginners book and you can finish it in less than a week.
Good luck
Raj
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the Beginning XML book by WROX and I think that it is pretty good. I covers a lot of information including XLST, XML, XPath, DOM, SAX, and some other stuff. I have only gotten through the first 5 chapters, but I would recommend it. HTH.
 
ARS Kumar
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found this site http://www.xmlpitstop.com/default.asp very useful.
ARS Kumar
 
Steve Fahlbusch
Bartender
Posts: 605
7
Mac OS X Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML is much more like HTML then it is like java, so you do not
need to know anything about java to learn XML.
<br>
Having said that, java is the almost perfect partner for XML. In the java is all about standard language (write once run everywhere) {or code if you will} while XML is about data definition that will be the same data everywhere.
<br>
A way to think about it is:
<br>
Being here you should know that java will perform the "same"
(sort of) on all systems that support a JVM (if we have the
same version of the language then this is a true statement).
<<the hedging in the above is that anything as complex as
java is difficult to insure the 100% of anything is compatable>>
<br>
XML tries to defined data in a standard way, so - it is possible
that i have a data base on machine A, with a data base schema defined in XML. i now move this to machine B (totally different
type of machine, but still supports XML. All i have to do is
redirect code to this machine and all should work as before.
 
srinivas acharyulu
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ofcourse , you can learn xml on your own and take the help of javaranch forum or some other forum for the doubts you have. It is the best way acatually.
You can follow Professional XML by
WROX publications for reference
 
srinivas acharyulu
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is better if you have IE 5.5 to extract the full functionality of xml.
 
Frank Daly
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi srinivas
What are the advantages of IE 5.5?
frank
 
balakrishna
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is actually the relation between EJB and XML.
can any body pls guide
balakrishnba
 
Tom Marrs
Author
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rajani Deshpande:
Hi, i was wondering if i can learn And code XML on My own. What all should i download to get the XML code running? Or is only a IE 5 enough?

The following XML Conferences have some excellent tutorials as well:
XML One (San Jose, CA:10/2 - 10/5) - http://www.xmlconference.com/xmlusa/

XML 2000 (Washington, DC: 12/3 - 12/8) - http://www.gca.org/attend/2000_conferences/XML_2000/default.htm

 
Rajani Deshpande
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Everybody.
I am sure i will be an XML Guru in a few weeks with all your help.
 
augustd
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IE 5 has full XML display capability -you can view the whole doc, expand/collapse nodes, etc
 
octavyn
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to all for their useful info in this forum and particularly this question strain.
 
Shama Khan
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right, the tutorial on IBM is good. I've been trying to run the 'saxone' example provided. My limitations are twofold: I am running it in IBM Visual Age 3.0 which means that I am utilizing JDK 1.1.7. Can someone tell me if I need Java 1.2 to run this example. I'm getting an exception: noClassDef Found for com.ibm.xml.parsers.SAXParser.
Originally posted by bpearce4827:
I looked around for some good tutorials when I first started researching XML and found that the tutorial on the IBM site helped me the most:
http://www-4.ibm.com/software/developer/education/xmljava/
It does require some knowledge of Java, and in order to repeat the examples you will need the JDK (or other environment).

[This message has been edited by Shama Khan (edited October 11, 2000).]
[This message has been edited by Shama Khan (edited October 11, 2000).]
 
Sameer Rao
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shama,


Have you tried altering your CLASSPATH to make the IBM-XML jar to be its first component. Some times a problem can arise because of other vendor XML implementation getting loaded before the IBM-XML implementation jar file.
Are you using XERCES or any Apache product alongwith ?
 
Ira Jain
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shama,
To resolve the error which you are getting -noclassdef found.,
Right click on the respective program.
Go to Run option ,select Check CLASSPATH option.
Select Classpath Tab .Click the Compute Now button.
It will automatically reference all the classes and libraries used by the program .
Hope it helps
Ira
------------------
 
Sameer Rao
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
Has anyone used JDOM for XML ? JDOM is a parser that provides the flexibility of specifying which Vendor XML parser should be used for parsing the XML document. Also, JDOM builds a Document Object Model for the XML document (irrespective of the kind of parser used... SAX or DOM). This makes working with the XML entities easy. Try the website www.jdom.org for more info.
I'd appreciate if anyone who has evaluated or worked with JDOM can comment.
<raosv@rocketmail.com>
------------------
_SvR_
[This message has been edited by Sameer Rao (edited October 19, 2000).]
 
Shama Khan
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys, yes it was a classpath issue.
Shama
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic