homepage Welcome to WebmasterWorld Guest from 107.20.37.62
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
How do I get specific XML-data with PHP
wavesurf




msg:1257598
 3:07 pm on Jan 19, 2005 (gmt 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.

 

XMLMania




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

I think you'll need to register the "prf" namespace with the XML parser.

wavesurf




msg:1257600
 9:32 pm on Jan 19, 2005 (gmt 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.

coopster




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

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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved