RE: [PHP] Variables from XML Documents
| From: | Sebastian A. | Date: | Tue, 07 May 2002 05:06:18 +0000 |
| Subject: | RE: [PHP] Variables from XML Documents | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96355@lists.php.net to get a copy of this message | ||
The parsing is not the problem. I am already using the PHP XML parser, but
the problem is that it I cannot get the content of elements into variables
like I already stated. Does no one know how to do this?
-----Original Message-----
From: Analysis & Solutions [mailto:danielc@analysisandsolutions.com]
Sent: Monday, May 06, 2002 8:25 PM
To: PHP List
Subject: Re: [PHP] Variables from XML Documents
On Mon, May 06, 2002 at 08:20:46PM +0200, Sebastian A. wrote:
> <me>
> <name>
> Foo-Bar
> </name>
> </me>
>
> What would I need to do, so that I can get the contents of the <name> tag
> (Foo-Bar) into a variable?
Check out my "PHP XML Parsing Basics" at
http://www.analysisandsolutions.com/code/phpxml.htm
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php