Hi, I have the modules like currency info, news and bullion rates. Which have to update daily from any service provider (web site)who is providing the related info. For eg bullion rates are provided by usbullionexchange.com. The contents from the site has to be converted into a XML file. Can any one help me in solving the above problem. Tks in advance Jowsaki
Please answer the following questions - What is the original format of the information( XML/HTML/Text/Proprietary etc ) when you receive it from the external provider? What are you trying to achieve by converting the data to XML format?
------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Joined: May 22, 2001
Hi Ajith, Thanks for your prompt response. Answers to your question 1. The output of the file format should be in XML format. 2. From that XML file, i have to convert into HTML and WML format using XSLT. My requirement is as follows I need to update the information daily without entering data (info) on my own rather I have to get those information (like bullion rates, currency rates etc..) from some other external provider. So I am in need of getting a XML document if i run an any program. Pls give your valuable reply and guide me. Thanks Jowsaki
Joined: Mar 17, 2000
If your input document is in standard XML format, all you have to know is the document structure( a DTD or a Schema model ). Once you have the model figured out, the rest is simple. Simply parse the incoming XML document( either as a file or as a stream ) and search for the nodes that is of interest to your application. The key is to determine if the document you are going to receive has a standard and reliable structure. Rest is standard XML parsing. I suggest you first get the document model resolved. Once you get started, may be you can post specific queries if you get to a roadblock on the way. Good luck, ------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
subject: Updating the info from other sites to XML file