I'm about to start writing an XML parser for a project I'm working on, and I thought I'd ask you guys for your thoughts before I start, hopefully avoiding some easy mistakes.
I'm trying to write a forum system that uses XML to work. Basically, each page calls an XML file that is read and each line is a command to be executed. For example:
Code: Select all
<command name="header" method="page_header" file="functions.php" etc></command>
<commandname="login" method="login_box" file="auth.php"></command>So, is this a sound idea? Can anyone suggest a better way to do this/improve it? Also, If anyone has any experience with this sort of thing, and knows what I should watch out for, it would be appreciated.
Thanks for any and all input
Sphenn