Julian Foad wrote:
> Branko Čibej wrote:
>
>> Julian Foad wrote:
>>
>>> Would it be useful if I put this comment in the top of the file
>>> (below the "<?xml" line)?
>>>
>>> <!-- A sample style sheet for displaying Subversion directory contents
>>> generated by mod_dav_svn when the "SVNIndexXSLT" directive is
>>> used. -->
>>
>>
>> Go ahead. A smilar comment in the companion svnindex.css wouldn't
>> hurt, either.
>
>
> So, the CSS is referenced by the XSL to provide a different level of
> style (colour, font size, etc, where the XSL gives the layout). They
> can both be called "style sheets" but what is the most usual or
> appropriate terminology to distinguish them in their respective comments?
Actually, svnindex.xsl is a /transformation/ stylesheet. It tells the
browser how to convert the XML to HTML. svnindex.css then tells the
browser how to format the HTML it just generated. The one generates
content, the other defines display rules.
> So far I have:
>
> svnindex.xsl:
> <!-- A sample style sheet for displaying Subversion directory contents
> generated by mod_dav_svn when the "SVNIndexXSLT" directive is used. -->
"style sheet" -> "xml transformation style sheet"
> svnindex.css:
> /* A sample style sheet for displaying Subversion directory contents */
> /* generated by mod_dav_svn and "svnindex.xsl". */
Yup.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 24 23:45:04 2005