![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: help, programming, question, tutorial, xml |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |
| ||||
| How do you integrate that to your website though? ![]() I've been wondering about this for a long time, how do you actually uses information from the XML and then update your site using these informations? Because isn't XML just going to look like a trees of data folder with our defined tag...? |
| ||||
| You parse the information in the XML file, that tree look is more of a map for what ever information your programming language imports, you may have seen in forums like phpBB that they have XML language files, if the language selected is English then it loads the English XML or it will load some other language. Edit: I know you like ASP.NET, this link below is for ASP but i would guess its the same or similar for ASP.NET, either way it will help you out i think, looks good to me .4GuysFromRolla.com - Accessing XML Data using ASP Edit 2: I think i found one for ASP.NET ASP.NET.4GuysFromRolla.com: XML, the DataSet, and a DataGrid __________________ ![]() Great looking text - by just typing into a box you can create great looking text for your msn names, myspace, bebo, netlog, facebook and more Last edited by Lee : 07-19-2007 at 02:26 PM. |
| |||
| XML is good for storing small amounts of data (a couple hundred records or so) in an easy-to-access format. Also, it is fairly fast as long as you don't need to store things like thousands of forum posts unless those posts are spread across multiple files (e.g. the maximum number of posts per page in a forum would be a single XML document, with a new XML document for the next set of posts of the same number). In that regard, databases still tend to be faster. For some reason, XML is regarded as less secure than a database. Honestly, I don't think that is true if you know how to configure security settings for individual directories properly. On Windows it is a pain to do sometimes, but you can do it. That way, you could store XML documents in a folder (maybe with subfolders depending upon the amount of data). For something simple like a small game, you could use XML to store the savegame data. "SuperTux" and the "Secret Maryo Chronicles" both use XML, if I recall correctly. I personally don't use XML much, mainly because I have yet to need it (I've had no reason to store anything in a format other than plain text for reading). XHTML is about as close to XML as I get these days. If I created RSS feeds, I'd work with XML a lot more, but I don't. I have played with it though, between MathML, XSLT and XML itself, I know a tiny bit about it. __________________ "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off." -- Bjarne Stroustrup, creator of what is now known as C++ For more quotes by Bjarne Stroustrup, check out http://www.research.att.com/~bs/bs_faq.html#really-say-that. |
| The Following User Says Thank You to rpgfan3233 For This Useful Post: | ||
HelloWorld (07-19-2007) | ||
| ||||
| Quote:
Reason why it is great is because its much quicker than reading from a text file or some other sort of file (so i am lead to believe). |
![]() |
| Thread Tools | |
| Display Modes | |
| |