Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Big Nerd Ranch Blog:
XML in PHP 5
Nov 19, 2005 @ 11:26:38

David Sklar has this pointer on his blog today to a new post on the Big Nerd Ranch blog today dealing with XML and PHP5.

Now that PHP 5 is becoming more and more prevalent over its predecessors, some really good books that cover PHP need revisions. Nowhere is this more true than with XML-related topics, where PHP 5 has a completely different way of working with XML — and, in fact, the mechanisms from PHP 4 will no longer work.

In this article, we’ll be looking at one way to build and parse an XML tree using the new methods in PHP 5.

They look at a generic XML document they'll use to test and move quickly into a way to create it using the DOM functionality in PHP. From there, they use a simple ten-line script to parse it and echo it back out...

tagged: big nerd ranch PHP5 XML big nerd ranch PHP5 XML

Link:

Big Nerd Ranch Blog:
XML in PHP 5
Nov 19, 2005 @ 11:26:38

David Sklar has this pointer on his blog today to a new post on the Big Nerd Ranch blog today dealing with XML and PHP5.

Now that PHP 5 is becoming more and more prevalent over its predecessors, some really good books that cover PHP need revisions. Nowhere is this more true than with XML-related topics, where PHP 5 has a completely different way of working with XML — and, in fact, the mechanisms from PHP 4 will no longer work.

In this article, we’ll be looking at one way to build and parse an XML tree using the new methods in PHP 5.

They look at a generic XML document they'll use to test and move quickly into a way to create it using the DOM functionality in PHP. From there, they use a simple ten-line script to parse it and echo it back out...

tagged: big nerd ranch PHP5 XML big nerd ranch PHP5 XML

Link:


Trending Topics: