• 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

XML HELP... Sigh..

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am supposed to code a XML file for my web services project. It is supposed to get the exposed web services interfaces (Database is in the web services) and mapped it to another file using SAX.
Its something like a search page. How shld i start my coding with XML?

Because after reading all the tutorials, i can't find any useful examples or codes to help me start my XML coding.

All i can find are something like this:


<recipe>
<title>Dough</title>
<ingredients>
<ingred_amt>1 cup</ingred_amt> <ingred>flour</ingred>
<ingred_amt>1 tsp.</ingred_amt> <ingred>salt</ingred>
<ingred_amt>1/2 cup</ingred_amt> <ingred>water</ingred>
</ingredients>
<directions>
<list>
<element>Mix flour and salt.</element>
<element>Slowly stir in water until dough is moist.</element>
<cooking>
<element>Put in microwave safe bowl.</element>
<element><method>Microwave</method> on <temp>high</temp> for <time>10 minutes</time></element>
</cooking>
</list>
</directions>
</recipe>

I do not want to insert any data into my XML file because all datas should be extracted from the webservice's database.

I am using JWSDP for developing this whole project and not .NET and so on..
Thanks alot for u help!! Really need help now..
Deadline is drawing very very near.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm afraid I don't understand what you want to accomplish. Could you elaborate a bit?
 
reply
    Bookmark Topic Watch Topic
  • New Topic