Reply to Re: PHP with XML

Your name:

Reply:


Posted by Captain Dondo on 09/14/06 13:54

On Tue, 12 Sep 2006 05:09:14 -0700, Goldking wrote:

> I have an XML File like:
> <xml version=1.0>
> <wholecontent>
> <group>
> <name> Goldking </name>
> <description>Made of Gold. </descripton>
> </group>
> <group>
> <name> SilverKing </name>
> <description> Made of Silver. </descripton>
> </group>
> </wholecontent>
> </xml>
>
>
> I wish to read
> 1) All the Name and to be displayed.
> 2) Get the description for a particular name.
>
>
> Can we use PHP to raed this data? How it could be acheived?
>
>
> This Qn has raised to learn / understand XML with PHP..
>


I use <http://keithdevens.com/software/phpxml>

You have to write your own code to walk the resulting data structure, but
PHP makes that easy.

--Yan

--
o__
,>/'_ o__
(_)\(_) ,>/'_ o__
Yan Seiner, PE (_)\(_) ,>/'_ o__
Certified Personal Trainer (_)\(_) ,>/'_ o__
Licensed Professional Engineer (_)\(_) ,>/'_
Who says engineers have to be pencil necked geeks? (_)\(_)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация