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

Re: Parseable output: --xml option for more commands

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-01-16 21:42:01 CET

On Sun, 16 Jan 2005, Julian Foad wrote:

> Here's my latest plan, incorporating comments that several of you made. It's
> rather different.
>
> ~/tmp> svn list sandbox/ sandbox/sail/ --xml
> <list path="sandbox">
> <entry kind="file">
> <name>b</name>
> <size>10</size>
> <commit revision="57">
> <author>julianfoad</author>
> <date>2003-12-14T17:00:05.944085Z</date>
> </commit>
> </entry>
> <entry kind="dir">
> <name>d</name>
> <commit revision="51">
> <author>julianfoad</author>
> <date>2003-11-26T23:09:20.511740Z</date>
> </commit>
> </entry>
> </list>
> <list path="sandbox/sail">
> <entry kind="dir">
> <name>TM</name>
> <commit revision="52">
> <author>julianfoad</author>
> <date>2003-11-27T00:24:15.385454Z</date>
> </commit>
> </entry>
> </list>
>
This is not a well-formed XML document. That requires a single top-level
element. Just wrap everything in another element.

Best,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 16 21:43:09 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.