You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Yves Bergeron <yv...@shq.gouv.qc.ca> on 2005/07/05 14:27:42 UTC

Rép. : Re: HTML 4 compliant output from URL to repository

Hi Manfred,
 
I read in the Subversion book about the SVNIndexXSLT option.  I copied the files from ./subversion-1.2.0/tools/xslt to ./apache2/htdocs and changed my httpd.conf.
 
All is now working well.  I can now customized the output the way I want.
 
Thank you.


>>> "Hunkel, Manfred" <M....@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 <a href="http://subversion.tigris.org/">Subversion</a> 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. »