This article explains styling xml documents using CSS and XSLT. Styling information can be specified for an XML document in one of the two ways. First is by using CSS (Cascading Style Sheets) and the second is by using XSLT (eXtensible Stylesheet Language Transformations) which was developed by W3C. Although using CSS is effective, XSLT is more powerful. Cascading Style Sheets CSS can be specified in a separate file and linked with an XML document by using the xml-stylesheet processing instruction as shown below: <?xml-stylesheet type=”text/css” href=”style.css” ?> As an example consider the following XML document: 1 2 3
The post How to style XML documents using XSLT and CSS appeared first on Coding Security.
How to style XML documents using XSLT and CSS
read more
Tidak ada komentar:
Posting Komentar