Source |
CodingSec |
Identifiant |
4197 |
Date de publication |
2016-07-17 16:00:49 (vue: 2016-07-17 16:00:49) |
Titre |
How to style the XML documents |
Texte |
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: <?xml version=“1.0” encoding=“utf-8”?> |
Envoyé |
Oui |
Condensat |
> 0” 8” although appeared article below: can cascading coding consider css css†developed document document: documents effective encoding=“utf example explains extensible file first following how href=â€style information instruction language linked more one post powerful processing second security separate sheets shown specified style stylesheet stylesheet styling transformations two type=â€text/cssâ€Â using version=“1 w3c ways which xml xslt |
Tags |
|
Stories |
|
Notes |
|
Move |
|