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

Re: SVNIndexXSLT, server-side processing?

From: Cristi BALAN <mental_at_gmail.com>
Date: 2004-05-28 01:52:05 CEST

----- Original Message -----
From: M. van Renswoude <mark@x2software.net>
Date: Fri, 28 May 2004 00:42:51 +0200
Subject: SVNIndexXSLT, server-side processing?
To: users@subversion.tigris.org

Hi,
 
because Opera does not support client-side XSLT processing, I was
messing around with getting it to work server-side. With Apache's
filters and xsltproc I got to the point where it would output the HTML
code and Opera accepted it. Initial problem was that the Content-Type
is set to XML, therefore the output needs to be compliant; however,
when using output="html" in the XSL it doesn't for the <meta> and
<link> tags. Using output="xml" solves that, but then IE renders it as
it would any XML file due to the <?xml?> header that's added, even if
I specify all the XHTML doctypes... (insert mumbles here)
 
Long story short; it doesn't work. Of course I could live with the
default listing, but I'd rather have it blend in nicely with the rest
of the pages.
 
So my question is: does anyone know of a way to have Subversion output
HTML the way I want? Be it using XSL sheet or not... I noticed the
"Version control" on the SubVersion website has a customized layout as
well, which doesn't use XML output, so perhaps anyone knows if that's
easy to do?
 
 
Thanks in advance,
 
Mark

Try putting
<xsl:output omit-xml-declaration="yes"/>
in your xsl file, that should remove the XML PI.

Cristi BALAN

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 28 01:52:40 2004

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.