
Welcome Guest
|
#1
|
||||
|
||||
|
It's been a long time since my last posting here... But I need QA team for free, so I am back here :P
Okay, let's get to business. In the attachment, you will find yet raw xml parser, what does not support streaming in background nor does it user defined callbacks (for same reason), so you are tied up to small files or short db query results. There, you will find a single function, wich takes xml or name/url of xml file as an argument, and returns it's array representation. Note, that xml doesn't have to have <? ... ?> header, nor does it have to have single root (however, having more makes it more than xml). 2nd done by returning only the last tag for a tree, but this also means that any comment in the end of file will prevent content from being returned. I think of it as of "bug #1". It will be fixed as soon as "bug #2" will be found I need extencive testing, bug reports and/or speed-up tips. If you don't want to reply here or PM (why the hell not ?) e-mail me to lucky_try@mail.ru That's it. No, wait. I am interested in html->xml convertors. Since official html specification grants designers permission to ommit closing tags (like </td>) and does not require to close simple tags (like <br />), parsing HTML file into data structure is kinda problematic... Attachment |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loading SWF file into PHP using XML! | Christam1 | Newbies |
0 | 12-17-2008 02:23 PM |
| Flash PHP XML and MySQL | sufs2000 | Newbies |
1 | 11-13-2008 10:41 PM |
| cannot connect flash xml client socket to php socket server | doc | XML & Sockets | 4 | 03-21-2007 06:55 PM |
| LoadVars or XML with PHP on DIFFERENT servers doesn't work. | sckz | Server Side | 4 | 02-11-2004 04:30 PM |
| Sending XML to PHP | lukie_be | Web Platforms - PHP, JSP and .NET | 1 | 08-09-2001 01:44 PM |

Other Programming





