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.