This is a discussion on XML and PHP within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Can anybody tell me of a good XML and php tutorial? I know how to make an xml file. I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Can anybody tell me of a good XML and php tutorial? I know how to make
an xml file. I just am unable, at this moment, how to read that into php. I am able to get the data with arrays. XML however will be a much wiser choise for me for several reasons. Some links to websites with tutorials and example will be greatly apriciated as well as extra tips concerning the matter. -- houghi Please do not toppost http://houghi.org You are about to enter another dimension, a dimension not only of sight and sound but of mind. A journey into a wondrous land of imagination. Next stop, Usenet |
|
|||
|
houghi wrote:
> Can anybody tell me of a good XML and php tutorial? I know how to make > an xml file. I just am unable, at this moment, how to read that into > php. > > I am able to get the data with arrays. XML however will be a much wiser > choise for me for several reasons. > > Some links to websites with tutorials and example will be greatly > apriciated as well as extra tips concerning the matter. The PHP manual has some useful examples of how to use XML functionality: http://www.php.net/manual/en/ref.xml.php -- Oli |
|
|||
|
Hello,
on 12/20/2005 09:47 AM houghi said the following: > Can anybody tell me of a good XML and php tutorial? I know how to make > an xml file. I just am unable, at this moment, how to read that into > php. > > I am able to get the data with arrays. XML however will be a much wiser > choise for me for several reasons. > > Some links to websites with tutorials and example will be greatly > apriciated as well as extra tips concerning the matter. You may try this PHP class that can be used to write XML documents without any special extensions installed: http://www.phpclasses.org/xmlwriter -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ |
|
|||
|
Oli Filth wrote:
> The PHP manual has some useful examples of how to use XML > functionality: > http://www.php.net/manual/en/ref.xml.php Thanks. If anybody has more tutorials, please let me know. Sometimes one tutorial explains things a bit easier for me then a plain manual. It already is a good start however. -- houghi Please do not toppost http://houghi.org You are about to enter another dimension, a dimension not only of sight and sound but of mind. A journey into a wondrous land of imagination. Next stop, Usenet |
|
|||
|
Manuel Lemos wrote:
> You may try this PHP class that can be used to write XML documents > without any special extensions installed: > > http://www.phpclasses.org/xmlwriter I will look into it. Thanks. -- houghi Please do not toppost http://houghi.org You are about to enter another dimension, a dimension not only of sight and sound but of mind. A journey into a wondrous land of imagination. Next stop, Usenet |
|
|||
|
The PEAR project also has a bunch of XML extensions
http://pear/php.net but a note, a lot of the stuff involving xml & php depend on what version of php you are using. In PHP 5, xml support is built in through SimpleXML, etc. In PHP 4, support is weak or only available through non-base modules |
|
|||
|
cross at php net said the following on 20/12/2005 23:43:
> but a note, a lot of the stuff involving xml & php depend on what > version of php you are using. > > In PHP 5, xml support is built in through SimpleXML, etc. > In PHP 4, support is weak or only available through non-base modules Umm, if I'm not mistaken, isn't the XML Parser module available in PHP 4??? Which is an event-driven parser, rather than a DOM-based parser (i.e. SimpleXML), so more flexible, and also more appropriate for large XML files? To say that that's "weak support" is somewhat awry! -- Oli |
|
|||
|
cross at php net wrote:
> The PEAR project also has a bunch of XML extensions > http://pear/php.net What now? > but a note, a lot of the stuff involving xml & php depend on what > version of php you are using. > > In PHP 5, xml support is built in through SimpleXML, etc. > In PHP 4, support is weak or only available through non-base modules Thanks for your concern. It works on my own machine and the remote one I will be using. As a toke of apreciation I want to offer you this: http://www.safalra.com/special/googlegroupsreply/ -- houghi Please do not toppost http://houghi.org You are about to enter another dimension, a dimension not only of sight and sound but of mind. A journey into a wondrous land of imagination. Next stop, Usenet |