Welcome to WebmasterWorld Guest from 107.20.54.98

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

How do I get specific XML-data with PHP

     
3:07 pm on Jan 19, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 12, 2003
posts:55
votes: 0


I need get some specific data from an XML-file ([nds1.nds.nokia.com ]). I found a parser on the net ([juicystudio.com ]) which I modified to get a hold of all the data. So far, piece of cake.

However, I only need the data from a few of the tags supplied in the document. I can't seem to identify and get a hold of these tags: <prf:ColorCapable> and <prf:ScreenSize>.

Can anyone help me with this?

Thanks a lot for any help.

8:29 pm on Jan 19, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 2, 2003
posts:95
votes: 0


I think you'll need to register the "prf" namespace with the XML parser.
9:32 pm on Jan 19, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 12, 2003
posts:55
votes: 0


Hmmm. I have been checking out this tip on the web, but I can't say that I really got anywhere.

Can anyone put me on my way to how I register this namespace, or a good XML parsing tutorial for PHP? I can't seem to get a good grasp of it. I'm totally in the dark.

Thanks for any help.

1:23 pm on Jan 21, 2005 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


Not entirely sure, but a quick search over the forum turns up some possible leads:

[webmasterworld.com...]
[webmasterworld.com...]

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members