I realize there have been a few other questions on this topic, and the general concensus is to use your language of choice to manipulate the XML. However, this solution does not quite fit my circumstances.
Firstly, the scope of the project: We want to develop platform independent e-learning, currently, its a bunch of HTML pages but as they grow and develop they become hard to maintain. We already have about 30 modules, with 10-30 HTML pages each, and this is growing all the time.
The idea: Have an XML file(s) + Schema pre eLearning Module, then produce some XSLT files that process the XML into the eLearning modiles. XML to HTML via XSLT.
Why: We would like the flexibilty to be able to easily reformat the content I realize CSS is a viable alternative here, especially to visually alter the look'n'feel but we may need a little more power than this and go as far as restructuring the pages. If we decide to alter the pages layout or functionality in anyway, im guessing altering the "shared" XSLT files would be easier than updating the HTML files.
Depending on some "parameters" we could output drastically different page layouts/structures, above and beyond what CSS can do. Can XSLT take QueryString parameters? Not sure..
Now, all this has to be platform independent, and to be able to run "offline" i.e. without a server powering the HTML so server side technologies are out of the question (C#, PHP)
Negatives I've read so far for XSLT:
- Overhead? Not exactly sure why...is it the compute power need to convert to HTML?
- Difficult to learn
- Better alternatives
Now, what I would like to know exactly is:
- Are there actually any viable alternatives for this "offline"?
- Am I going about it in the correct manner
- Do you guys have any advice or alternatives.
EDIT: With or without XSL, CSS and JQuery will be a very prominent part of the solution we develop. General tidy up (sloppy engrish!)