When we
say style sheets for the xml file we are mentioning about the xsl files.
The xsl files have data that are used for formatting the xml data and
display them in other forms like html along with the styles. XSL is
for XML and CSS is for the HTML.
_______________________________________________
_______________________________________________
You
can include a style sheet file in the xml file itself. If you do this,
the xml file will be displayed with the styles incorporated in it. If
you want to include an xsl file in the xml file, then you can use the
following syntax,
<?xml-stylesheet
type="text/xsl" href="xsl_file.xsl"?>
The above
code will include the xsl file for that xml and the data will be displayed
according to the formatting instructions given in the xsl_file.xsl.
A style
sheet file will have the root tag as <xsl:stylesheet> or <xsl:transform>.
This tag will include the namespace of the XSLT. The version number
is also included as an attribute. Hence the root element in the xsl
file will look like,
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
By using
the different elements of the xsl file like, xsl:template, xsl:for-each,
and xsl:value-of, you can navigate through the elements and format the
ways in which they have to be displayed.
Software Review - StyleVision 2008 from Altova (Blogcritics.org)
If you want an easy way to transform XML and database content into eye-catching output, you need to check out StyleVision 2008. StyleVision is a visual stylesheet designer that can be used for transforming XML and database content into HTML pages, RTF Documents, PDF reports, Word 2007 (OOXML), and Authentic Electronic Forms. StyleVision is standards-based and supports XSLT 1.0/2.0, XSL:FO, CSS, ...
Find Members (SiliconIndia)
Intro to cascading stylesheets In web development, Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language.