[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: James FitzGibbon <jfitzgibbon_at_primustel.ca>
Date: 2005-07-05 16:40:14 CEST

Apache doesn't use the stylesheet unless you tell it to:
 
HYPERLINK
"http://svnbook.red-bean.com/en/1.1/ch06s04.html#svn-ch-6-sect-4.5.1"http://
svnbook.red-bean.com/en/1.1/ch06s04.html#svn-ch-6-sect-4.5.1
 
Try adding SVNIndexXSLT to your Apache config and then see if changes to the
stylesheet are reflected in what you see when you pull the URL.

   _____

From: Yves Bergeron [mailto:yves.bergeron@shq.gouv.qc.ca]
Sent: Tuesday, July 05, 2005 10:18 AM
To: users@subversion.tigris.org; M.Hunkel@t-systems.com
Subject: Re: HTML 4 compliant output from URL to repository

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 [HYPERLINK
"mailto:yves.bergeron@shq.gouv.qc.ca]"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 HYPERLINK
"http://shq-xsrc01:8080/svn/dqs/trunk/plsql/
and"http://shq-xsrc01:8080/svn/dqs/trunk/plsql/ and at the end of the output
I got:
<hr noshade><em>Powered by <a href="HYPERLINK
"http://subversion.tigris.org/"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. »

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/39 - Release Date: 7/4/2005
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/39 - Release Date: 7/4/2005
 
-- 
----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en français de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------
Received on Tue Jul 5 17:01:58 2005

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