Wouldn't it be easier to use XML?
http://www.blitzbasic.com/codearcs/codearcs.php?code=361
You could probably set it up so that it uses the HTML-tags - technically it would have to be xhtml, because you will have to close every tag (or use something like <br/> to have an empty tag).
http://www.blitzbasic.com/codearcs/codearcs.php?code=361
You could probably set it up so that it uses the HTML-tags - technically it would have to be xhtml, because you will have to close every tag (or use something like <br/> to have an empty tag).