So we finally got over another obstacle in our quest of completing project 2. It was pretty tricky and there were many minor things which were overlooked and with some guidance from Bud, we finally achieved it. Some recommendations to every one working on the project:
Remember to include all the files i.e. the .xml files of your queries in the webapps directory. This is necessary since we are trying to display our queries on the web
Include the root.xsl, SimpleTable.xsl and cis320.css files in the main directory from where you are accessing and running your .xml files. I overlooked this and definitely came across very wierd errors like "could not display the XMl page" etc.
I also understood the whole process of the tags written in the root element file. Turns out that as displayed in customerHtml.xsl, the tag where it directs the file to match the template, the root element will have to be defined for every different query file which you are trying to display.
I feel the best way to learn all this is getting started on the project cause there are several errors that are encountered and overcoming these problems helps understand the whole process of XML to HTML
Comments