PDA

View Full Version : How to get values from database to xml .



vellursuresh
02-10-2009, 12:19 PM
Please to answer to me


I am used to feed in mysite how to generate the XML file values from database.

Nile
02-10-2009, 12:48 PM
What kind of database?

You cannot use Javascript to get data from an SQL database.

codeexploiter
02-11-2009, 04:04 AM
Nile is correct, as the databases are usually reside at the server part. You need a server-side language like PHP, C#, Java, etc for accessing the database and retrieve the records. After that using some business logic the retrieved data needs to be converted into XML.


You cannot use Javascript to get data from an SQL database.

Actually JavaScript works with database in IE environment but the database should be in the client machine. As this situation is very much unlikely in a website's case we can skip this option.

smansakra
02-11-2009, 08:36 AM
hi man, this person want to post XML, becouse no XML tab on this forum, he submit it on javascript disscussion