Cableguy Expert Licensed User Longtime User Mar 6, 2013 #1 I have a html correctly defined and constructed document, that has a few dozens "fields" I need to extract info from... Can I do this with the XML parser? If "yes", to do so, I need to add the xml header to my document, right?
I have a html correctly defined and constructed document, that has a few dozens "fields" I need to extract info from... Can I do this with the XML parser? If "yes", to do so, I need to add the xml header to my document, right?
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2013 #2 Only XHTML pages can be parsed with a XML parser. Regular HTML pages are not formatted as correct XML documents. Upvote 0
Only XHTML pages can be parsed with a XML parser. Regular HTML pages are not formatted as correct XML documents.
Cableguy Expert Licensed User Longtime User Mar 6, 2013 #3 I have this line in the page I need parsing B4X: <html xmlns="http://www.w3.org/1999/xhtml"> Will it work with this? Upvote 0
I have this line in the page I need parsing B4X: <html xmlns="http://www.w3.org/1999/xhtml"> Will it work with this?
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2013 #4 You can use this library: http://www.b4x.com/forum/additional...ibrary-convert-html-pages-xml.html#post156559 Upvote 0
You can use this library: http://www.b4x.com/forum/additional...ibrary-convert-html-pages-xml.html#post156559