PDA

View Full Version : Xml


Neal Turett
01-12-2003, 09:35 PM
Can anyone recommend a good XML book \ tutorial? I know various forms of BASIC, PHP, and C++, so I have some background, but trying to teach yourself XML from the VS .NET help file just wasn't working.

I eventually want to integrate to both C++ and PHP.

jonathan lall
01-12-2003, 10:08 PM
O'Reilly XML in a Nutshell is pretty good. It is far more informative than anything I've seen on the web. If you know basic HTML you'll be fine.

Brandon Martus
01-12-2003, 10:14 PM
W3-Schools (http://www.w3schools.com/xml/default.asp) seemed to have some good info.

Zmeko
01-12-2003, 10:35 PM
I eventually want to integrate to both C++ and PHP.

does this mean you want to be able to use XML with PHP or C++, if so today is your lucky day!

I have for you, today, 3 solutions: Xerces-C, EXPAT and the standard API from PHP (http://www.php.net/manual/en/ref.xml.php)

Xerces-C is an API developed by the good people of IBM, the API provides many features such as DOM and SAX standards and tons of other useful stuff. you can get Xerces-C from their website (http://xml.apache.org/xerces-c/index.html) or you can take a look at other apache XML projects (http://xml.apache.org/).

I am not sure if EXPAT has a port to PHP but i know for certain that it has one for Perl, either way check out their
site (http://www.jclark.com/xml/expat.html).

You can always use the native support from PHP. i guess this site woulnd't have to many experts in field, so, i think you should check an XML site (http://www.xml.com).

P.S: the most time comsuming part of Xerces-C, for me, is trying to read the data in a text node... if you need some samples of a programing reading an XML file then converting a value from an element to integer then displaying it based on which element and it's attributes... just ask :)

Stephen Kowski
01-12-2003, 10:55 PM
personally the W3Schools is pretty good, and the book XML: Visual by IDG Books.