On May 21, 2006, at 00:44, Morten Kvistgaard wrote:
> Ryan Schmidt wrote:
>> On May 20, 2006, at 22:14, Vijay Gill wrote:
>>> Where can I find the schema for the XML log generated by the
>>> mod_dav_svn which can be used to present a repository in web browser
>>> using custom xslt?
>>> I am trying to modify the xsl file that comes with subversion and
>>> to show the name of the repository also, but cannot find such
>> I do not know where the schema is. I was also unable to find the
>> repository name in the produced XML. I can't find an open feature
>> request about this either.
> Subversion has RELAX NG schemas. Check this repository url:
> Some XML parsers support RELAX NG natively, and there are also
> tools to convert RELAX NG into XML Schemas or DTD's. For more
> information about RELAX NG take a look at http://www.relaxng.org.
Vijay wasn't asking about the XML output of svn log or the other svn
command-line actions, for which I see those schemas; he was asking
about the XML output of mod_dav_svn when viewed in a web browser
using the SVNIndexXSLT directive; I don't see a schema for that in
the above directory. For those also using the SVNParentPath
directive, there are going to be multiple repositories, but there
doesn't seem to be a way to show the repository name on the index
pages, because it is not in mod_dav_svn's XML response.
When I worked on improving our server's directory listings a few
in the page to parse the repository name out of the address bar, or
forgoing the built-in XML/XSLT entirely (since I'm not comfortable
with it anyway and not all browsers support it) and instead having a
(PHP) script generate the Subversion directory listings by calling
svn ls or using the language bindings. But then more important things
came up and I never tried out either approach.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Sun May 21 01:58:21 2006