[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: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-01-17 17:26:25 CET

Peter N. Lundblad wrote:
> On Sun, 16 Jan 2005, Julian Foad wrote:
>>~/tmp> svn list sandbox/ sandbox/sail/ --xml
>><list path="sandbox">
[...]
>></list>
>><list path="sandbox/sail">
[...]
>></list>
>>
> This is not a well-formed XML document. That requires a single top-level
> element. Just wrap everything in another element.

Thanks for pointing that out. If "--incremental" is specified, I'll output the
XML fragments as above, otherwise I'll output an XML header line and wrap the
rest in a "<lists>" element.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 17 17:27:46 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.