[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? [solution]

From: Robert Koberg <rob_at_koberg.com>
Date: 2004-05-28 15:08:51 CEST

M. van Renswoude wrote:

>>Try putting
>><xsl:output omit-xml-declaration="yes"/>
>>in your xsl file, that should remove the XML PI.
>
>
> That does the job for the XML declaration, thanks! Unfortunately, IE still
> refuses to render it, and I have found out why: the Content-Type header is
> text/xml. No Apache directive (such as 'Header') will solve that, so it's
> time to hack the SubVersion source. As a note to the authors; I think
> server-side XSLT processing is much nicer, and of course much more
> compatible with older clients, so here's the suggestion for such a feature
> :).

There might be another problem. Are you sure you have closing tags for
things like <title/> and <script/>? If they are rendered closed then the
page will not display. You need to force the close tag to show, E.g:

<title>something</title>
<script src="boo.js">//</script>

FWIW, another gotcha is textarea -- you need to force an end tag to
render for that too.

best,
-Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 28 15:08:41 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.