I have the statement 'SVNIndexXSLT
"/Group/Business%20Support/IT/Subversion/svn.xsl"' in my apache config file
and this works quite well. I just have a few questions regarding the xml
output.
In my web browser if I do a view source on my repository I get:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl"
href="/Group/Business%20Support/IT/Subversion/svn.xsl"?>
<!DOCTYPE svn [
<!ELEMENT svn (index)>
<!ATTLIST svn version CDATA #REQUIRED
href CDATA #REQUIRED>
<!ELEMENT index (updir?, (file | dir)*)>
<!ATTLIST index name CDATA #IMPLIED
path CDATA #IMPLIED
rev CDATA #IMPLIED>
<!ELEMENT updir EMPTY>
<!ELEMENT file (prop)*>
<!ATTLIST file name CDATA #REQUIRED
href CDATA #REQUIRED>
<!ELEMENT dir (prop)*>
<!ATTLIST dir name CDATA #REQUIRED
href CDATA #REQUIRED>
<!ELEMENT prop (#PCDATA)>
<!ATTLIST prop name CDATA #REQUIRED>
]>
<svn version="1.0.2 (r9423)"
href="http://subversion.tigris.org/">
<index rev="552" path="/">
<dir name="Group" href="Group/"></dir>
<dir name="Sandbox" href="Sandbox/"></dir>
<dir name="Services Brisbane" href="Services%20Brisbane/"></dir>
<dir name="Services Canberra" href="Services%20Canberra/"></dir>
<dir name="Systems" href="Systems/"></dir>
</index>
</svn>
If there any way to get additional information in the <index> section ? Eg
what if I want the revision number or the file size ?
Also what are my options if I want to access the xml in a web based
application by apply another xsl sheet (either server or client side) ? Has
anyone tried this ? Is there a way to get the XML without the
<?xml-stylesheet.... Bit ?
Daniel F Garcia
Project manager
Mobile: 0438 670 947
Phone: 07 5461 1120
Email: dgarcia@kobold.com.au
Address: 4 Lloyd George Street, Eastern Heights QLD 4305
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 12 10:27:33 2004