When should I use xhtml and when xml with xslt?

herreraforest

New Member
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
 
Back
Top