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

Re: HTML 4 compliant output from URL to repository

From: Yves Bergeron <yves.bergeron_at_shq.gouv.qc.ca>
Date: 2005-07-05 16:17:38 CEST

Manfred,
 
I found the svnindex.xsl stylesheet in my build directory within ./subversion-1.2.0/tools/xslt. I doubt apache is using this stylesheet. Instead, I found the used html tags within ./apache2/modules/mod_dav_svn.so. So I think there is something I could change before building the svn apache module. Where ???
 
Thank you.

>>> "Hunkel, Manfred" <M.Hunkel@t-systems.com> 07/05/05 9:33 am >>>
-----Ursprüngliche Nachricht-----
Von: Yves Bergeron [mailto:yves.bergeron@shq.gouv.qc.ca]
Gesendet: Dienstag, 5. Juli 2005 15:14
An: users@subversion.tigris.org
Betreff: HTML 4 compliant output from URL to repository

Hi,
 
I'm trying to parse in XML the output from a URL to a Subversion Repository but this output is not HTML4 compliant.
 
My URL is something like http://shq-xsrc01:8080/svn/dqs/trunk/plsql/ and at the end of the output I got:
<hr noshade><em>Powered by Subversion version 1.2.0 (r14790).</em>
Notice that the <hr noshade> should be <hr noshade />.
Is this something that must be corrected from within Subversion or is it something I can configure ?
Thank you.

---------------------------------------------

Yves,

The output you're citing is created by the svnindex.xsl stylesheet, so if you know where this is stored on your web-server
and if you have access to that file and if you know how to modify an XSL stylesheet, then yes, you can change this...

Just take a look at the template rule that reads '<xsl:template match="/svn">'. The 'Powered by ...' line is somwhere
towards the end of that rule...

;-) -Manfred

« Le présent courriel peut contenir des renseignements confidentiels et ne s'adresse qu'au destinataire dont le nom apparaît ci-dessus. Si ce courriel vous est parvenu par mégarde, veuillez le supprimer et nous en aviser aussitôt. Merci. »
Received on Tue Jul 5 16:29:10 2005

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