Welcome to WebmasterWorld Guest from 107.22.30.57

Forum Moderators: open

Message Too Old, No Replies

convert wbxml to xml and vice versa

convert wbxml to xml and vice versa

     
2:52 pm on Jan 3, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Dec 7, 2008
posts:77
votes: 0


I need some help for how to convert wbxml to xml using pure php. Any help would be appreciated.

Thanks
Mahabub

4:50 am on Jan 4, 2009 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
posts:4061
votes: 0


Hi Mahabub,

There is a PECL package that does this:
[pecl.php.net...]

I've never tried it so I can't endorse that it works, but perhaps it'll be a good starting point in your search.

6:44 am on Jan 4, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Dec 7, 2008
posts:77
votes: 0


Dear httpwebwitch,

I saw this before actually I am looking for something which is in pure php I mean i dont need any extra module.

Thanks
Mahabub

3:45 pm on Jan 4, 2009 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
posts:4061
votes: 0


I can relate. I hate adding extra modules and PEARs and whatnot - to do it I need my host to recompile PHP, which always brings my sites down for a few hours.

the PECL WBXML module is a true module, written in C. I have a hunch that a WBXML conversion derived from PHP would be far less efficient than the module.

That said, I did a little more searching and haven't found anything like what you need. Keep looking... and maybe ask around in the PHP forum, the bona fide PHP experts hang around in there.