I am looking for ideas for way to utilize xml to build websites that stores data using XML files. I am still learning xml and asp so not sure where to start. I am thinking of something along the lines of events calendar where data are stored in xml file.Any
ideas, website examples or suggestions are appreciated.
Sahiila
None
0 Points
3 Posts
Ways to use XML in websites Building
Feb 04, 2013 11:57 PM|LINK
I am looking for ideas for way to utilize xml to build websites that stores data using XML files. I am still learning xml and asp so not sure where to start. I am thinking of something along the lines of events calendar where data are stored in xml file.Any ideas, website examples or suggestions are appreciated.
adamturner34
Contributor
3824 Points
963 Posts
Re: Ways to use XML in websites Building
Feb 05, 2013 03:03 PM|LINK
Well,
XML can be used for both static and dynamic data.
For example, static data can be your menu with options, static content, or email addresses.
For example, dynamic data would pull from a database or other datasources such as web services and store the data in xml format and later parsed out.
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Ways to use XML in websites Building
Feb 07, 2013 12:04 AM|LINK
Hi,
There are at least 3 kinds of ways to use xml:
1) Please use XmlDataSource to bind to a data presentation control to show xml contents.
2) Please use XmlDocument or XDocument to fetch out specific values from the xml nodes and do what you want.
3) Please use DataTable.WriteXml/ReadXml to serialze the xml contents and read them in to do things.
Sahiila
None
0 Points
3 Posts
Re: Ways to use XML in websites Building
Feb 08, 2013 02:53 AM|LINK
So I used this : XmlDataSource to bind to a data presentation control to show xml contents
Thanks for th hint.