Tell me, please, can anyone meet the code, which is a string like
(p "qqqqaaaa" (tr (td "www") (td "eee")))
Converts to html or xml of the form:
< p >qqqqaaaa< tr >< td > www < /td > < td> eee< /td> < /tr> < /p>
There will be few tags at the input, i.e. only basic formatting elements, no frills. We need the simplest parser, in php or javascript, or an algorithm.