Welcome Guest. Please Login or Register. Apr 5th, 2018, 11:28pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
This is a simple XML file parser, suitable for tasks such as extracting data from an RSS feed. It is based on a PHP version which I found, but has been considerably enhanced compared with the original.
The PHP original is Object Oriented and I've tried to retain as much of the OOP structure as is practical in BBC BASIC, therefore XMLLIB may be of particular interest to those interested in OOP (and may horrify those who aren't!).
XMLLIB is not intended to be a fully-fledged XML parser; for that you should consider using Microsoft's MSXML COM interface.
I've written three programs to illustrate the use of the library; all require you to download XMLLIB.BBC to your BB4W LIB folder first:
This program displays the hierarchy of an XML file as a tree view, and allows you to display the text content by clicking on a node (again it uses the BBC RSS file as a demo).