Vyse Posted November 14, 2008 Share Posted November 14, 2008 I was ready tutorials on W3Schools and they show how to use CSS with XHTML but say its not the recommened way and to use XSLT.My question is are there going to be any problems using CSS instead of XSLT with XHTML?Also, I just barely looked over XSLT, is it a lot better than CSS?-Vyse Link to comment Share on other sites More sharing options...
Ingolme Posted November 14, 2008 Share Posted November 14, 2008 I think you misunderstood. They say not to use CSS with XML. With XHTML it's fine to use CSS. Link to comment Share on other sites More sharing options...
Vyse Posted November 15, 2008 Author Share Posted November 15, 2008 Ah, thanks for clearing that up for me, I keep getting confused from the tutorials I read on the web.One minute there teaching me XHTML the next minutes its XML!! Link to comment Share on other sites More sharing options...
Synook Posted November 15, 2008 Share Posted November 15, 2008 XHTML is a language that is based on XML. XLST is used to transform other forms of XML into XHTML which can then be presented based on CSS rules.HTML is based on SGML if you really want to know. Link to comment Share on other sites More sharing options...
Guest FirefoxRocks Posted November 17, 2008 Share Posted November 17, 2008 XHTML is a language that is based on XML. XLST is used to transform other forms of XML into XHTML which can then be presented based on CSS rules.XLST? Link to comment Share on other sites More sharing options...
Synook Posted November 17, 2008 Share Posted November 17, 2008 Oops typo.XSLT: eXtensible Stylesheet Language Transformations. Link to comment Share on other sites More sharing options...
Kaboraya Posted November 19, 2008 Share Posted November 19, 2008 Many HTML authors have heard of XHTML. XHTML is basically HTML that has been formalized to the degree that is also valid XML. XSLT is a method of transforming an XML document into another XML document. You can transform an XML document into an HTML document for example. Using XSLT is especially useful for developing online applications. Instead of developing a server-side template engine, you can create a client-side XSLT file which defines the rendering rules, and have the application output mere XML. This allows great savings in bandwidth, and also saves you from the trouble of having to implement a separate XML interface for those users who want data directly from your site. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.