• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

abt xml

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,
I know java,html.I do want to know xml,which is the good book for beginner.
thanks
manila
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would suggest look at the web addresses mentioned in other replies. There are a good online references to learn from.
Vivek
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Step by step XML is a good book for a beginner.
And u can order it throught the link above.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you already know Java, I would suggest "Java and XML" by Brett McLaughlin from O'Reilly (ISBN - 0-596-00016-2). It really starts with the basics of XML (the what and why) and moves into some useful applications of the various aspects. The chapter on Transforming XML helped me quite a bit with XSL.
The Wrox press "Java Server Programming" has a chapter or two on XML, but the book inludes a lot of other things you may not care about. It also deals mainly with parsing and not much with transformation.
Good luck,
Bill
 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would suggest you try either XML by example or Java and XML. Java and XML may not really be appropriate for a beginner.
Just my $0.02
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to XML, (just have some concepts)
here is something from me (what I know of XML)
Advantages of XML:
Extensibility and Modularity.
Interoperability and Accessibility.
Easy Speration of Data and Design.
something more what I know,
- XML is a markup Language.
- XSL is like Style sheet for it. (just like CSS for HTML, we can also use CSS with XML).
- SAX is some sort XML Parser
- DOM is the Document Object Model for Markup Languages. (a little confusion here)
Am I right ???
Can anybody tell me the relationship b/w XML, XSL, DOM and SAX. in a little detail.
------------------
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
XML consists of 3 main parts:
1. DTD (or Schema which is gaining grounds) in a text file defines all the valid tags for the current application domain
2. The data itself is in a text file and should conform to the DTD
3. The presentation of Data - It can be done either by XSL or HTML+CSS. You always need a presentation component for XML data file because unlike HTML, XML does not have any pre-defined appearances for its tags. You have to define your own presentation information for each tag you define in your DTD.
After defining the presentation information you have to associate the XML data file with the presentation file.
If you define the presentation part in HTML+CSS combination then any normal CSS aware web browser can display the XML data using the presentation information.
If you define it using XSL then any XSL aware browser (like IE 5.0) can display it.
Ther are XML validators which can validate an XML data file for conformance to the DTD defined in the DTD file. XML data files conforming fully to its DTD are said to be 'Valid'. Also all XML tags have to be 'Well formed' i.e. each opening tag should have a matching closing tag. Hanging tags like <P> in HTML are not allowed. XML documents should be both Well formed and Valid.
There can be DTDless XML also. In this case you do not have a separate DTD file. You define your tags inline as you go along XML data file. But these XML files still have to be Well formed and Valid.
To programmatically process XML data file you will use a parser. There are 2 main types of parsers. SAX (Simple API for XML) and DOM (Document Object Model).
SAX parsers generate events for each XML tag encountered and the program receiving these events decides what to do with the corresponding data.
DOM parsers create a 'tree' out of XML data and the program can walk thru the tree of data to process them.
Hope this helps.
Regards
Mahesh
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic