• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Question for David

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi David,
i have read couple of books about XML, i went thru the video , i find everyone talking about how do u write XML,XSL how do u use xml,but i din't find

why do u use XML?,
where does XML fits properly ,sorry perfectly,
How do u design XML?
what is the best way to do that?
some many questions(design issues)
can u guide me in this one,
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML is used to store and Transfer Text Data as Values of the Elements and Attributes that can be defined by a common understanding between different entities(people, programs). The use of XML is to store text data and transfer data between those entities like lets say u have 2 programs one written in VB and other in Java and u have to transfer data u can have VB prog writing data in an XML file and Java Prog reading that XML File, same way u can use a database, but of course both programs must know the elements and attributes they would encounter which would be either written in DTD or XSD and Both programs would have access to that DTD or XSD to know what hoe are supposed to get the XML data, this has given birth to many things as Web Services where one prog will query another prog and get data back thru soap.
As far as Designing XML goes as long as entities can come up with a consensus of how the data would be stored, u can then design DTD/ XSD and then populate XML file with the data.

------------------
-AJ
Sun Certified Java Programmer
Microsoft Certified Software Developer
 
ravi bask
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks ashish,
but still want to know how do u test teh performance of xml
 
Ashish Jaiman
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Performance of XML is mostly judged by the parsers performance, there are so many available also which implementation(DOM or SAX) and what are ur requirements as how big the XML document would be ..., and u can find this info on the web (look for XML Journals), one thing is for sure that XSLT certainly improves performance in trnasforming XML doc compared to Parser implementation
------------------
-AJ
Sun Certified Java Programmer
Microsoft Certified Software Developer
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!