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