From: Andreas A. <a.a...@th...> - 2001-09-19 08:07:01
|
Hi Alex, > yeah, i think we can probably make it happen without forcing xhtml.. So, now I have the following picture of BCTagParser in my mind- correct me if you disagree: - parse a textfile with a regex - if <bc:*> occurs read the hole tag into a buffer - pass this buffer to the xml parser that processes the buffer - the xml parser calls the tag-handling-method (if it is registered, otherwise ignores) and returns a string (i.e. generated php) - the <bc:*> tag is replaced with the generated php in the target-file-buffer - regex goes to next occuring tag and repeats the above - EOF => resulting file is written Andi |