[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to modify example XSTL stylesheet

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-18 20:38:59 CET

On Mar 18, 2007, at 11:50, Mr Pekka Niiranen wrote:

> how should I modify the example stylesheet "svnindex.xsl"
> so that https: -access would show each file's revision and date too.
>
> For example (svn list --xml):
>
> <entry
> kind="file">
> <name>pekka2.txt</name>
> <size>0</size>
> <commit
> revision="2"> # This value should be shown(Pekka).
> <author>pekka</author>
> <date>2007-03-18T15:52:00.858738Z</date>
> # The date above should be shown too( Pekka).
> </commit>
> </entry>
>
> I am using subversion v1.4.3

I haven't worked much with the Subversion XSLT. But here's a tip:
View the source of the Subversion-generated XML in your browser. If
you see the author and date information, then you can modify the XSLT
to show it. If the information you want is not present in the XML,
however, then it cannot be shown.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 18 20:39:28 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.