XML attributes advice
I've put a really quick example of the different elements I'm thinking. So for example the user would select Biology at level 1 in the initial form and a revision plan would be returned. Going forward I want to keep it flexible in how it can be returned so for example within week 1 the days can be swapped around (so people can sort their revision plan to suit themselves).
I'd be grateful if you could let me know what you think! Thanks guys, I really appreciate it!
<?xml version="1.0" encoding="utf-8"?>
First impression: Ask yourself the question: "Why not use a combination of PHP and MySQL?"
Originally Posted by metcala
Generic XML is one of those technologies that you really need a good reason to use. What you're talking about sounds more like a database, which XML is poorly suited for. Its wordiness works against you.
XML is okay for transferring the information, but even raw data like this might be better off in JSON.
Thanks for the quick reply! I don't really have any experience in MySQL I've just had a look into it and seems like something I could probably get to grips with. Thanks again for your response, definitely seems like a much more logical approach!