XML
M36Teen
Jan 12, 2004 12:15 PM |
Hi,
I was wondering, I've heard a lot about xml, except how to retrieve data from it. All I can find is stuff about creating the xml file. How does that work?
Can you add stuff to the xml file via an html form? For example, I have an xml document containing a list of songs for a friend. Can I create a form to add another song to the list so that they don't have to even see the xml?
~Jake |
J_Maxwell
Jan 12, 2004 5:03 PM |
Jake,
What language are you doing this in? In PHP, there really isn't a XML approach to write to XML files - you just have to open it, like any other text file and append/write to it.
For more information XML, here is a good link:
[HYPERLINK@msdn.microsoft.com]
and
[HYPERLINK@www.w3schools.com]
Personally, when it comes to web programming, I prefer SQL/MySQL. On the Windows side, when using COM protocols and other just data storage, I prefer XML. A lot of applications use XML for its primary use of COM communication (for example: QuickBooks uses COM for its QBFC, I think; Outlook also uses XML for some of its communication).
If you want to use XML with PHP, [HYPERLINK@www.zend.com] is a good tutorial. Otherwise, I would recommend MySQL, until PHP 5 comes out (with full XML integration).
C# and VB make it very simple to use XML. Just create a XMLTextReader, and run through it doing a while statement and use a switch/case statement to grab the values.
Joseph Maxwell |
M36Teen
Jan 12, 2004 9:00 PM |
Thanks Joseph! I'm not actually creating anything with XML yet, just learning it. I'll check out those links!
~Jake |
dave
Jan 12, 2004 9:34 PM |
Since you mentioned PHP 5, I'll point out that I've been using PHP 5 Beta 3 on my staging server for quite a while and it's been 100% working. I haven't started playing with the new features yet, but it's definitely ready to be used for small-scale deployments, particularly staging and development machines.
Dave |
|
Posting in this forum is limited to members of the group: SITEADMINS, SUBSCRIBERS, MEMBERS.]
|

| If you don't have an account yet, visit the registration page to sign up. If you already have an account, you may login here:
|
|
|
Welcome to the Open Forums!!
|
Welcome to the Open Forums!!
|
|
|