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

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

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

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.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:48:15 2005

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.