
November 14th, 2001, 11:11 AM
|
|
Junior Member
|
|
Join Date: Jul 2001
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Parsing XML
Hi, i'm using the PHP code form melonfire at :
URL
My question is :
So far, my xml code has been in the form like
1)
<title>The Hobbit</title>
<Pages>359</pages>
and everything seems fine.
But i'm wondering if its also possible to have the xml code like
2)
<title="The Hobbit" Pages="359" />
Would it be possible to parse XML with php when the XML code is like the second example??if so what would I have to change in the PHP code?
thanx
|