You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mr Pekka Niiranen <pe...@pp5.inet.fi> on 2007/03/18 16:50:03 UTC
How to modify example XSTL stylesheet
Hello everybody,
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
-pekka-
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: How to modify example XSTL stylesheet
Posted by Ryan Schmidt <su...@ryandesign.com>.
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