This is maybe the stupid question, but I am missing the point.
I try to get more into xml and xhtml. I am reading the book and I understand the context of both “languages”. For me it seems that you can achieve the same goal with both techniques. It seems that it does not matter if you use xthml + css or xml + xslt, you can create the same web page.
I always thought that xml serves as data source. I know that Xhtml means more clear presentation based on xml rules but have xml some additional purpose? I mean, is there any recommendations when to use xhtml or xml (or use xml as some metadata for xhtml, I don’t know some speed reasons or etc.)??
Thanks for answer.
Best Regards,
Juraj
The only reason to use xml+xslt for displaying information in the browser is to allow users to easily view XML documents when:
If you just want to show stuff to your users in a browser, it will almost certainly be easier to stay away from XSLT (it’s not at all fun to programme).