Jump to content

Any problems with using CSS with XHTML?


Recommended Posts

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 post
Share on other sites

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 post
Share on other sites

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...