[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-15 17:50:49 CET

kfogel@collab.net wrote:
> Julian Foad <julianfoad@btopenworld.com> writes:
>
>>How about this format for "svn list --xml"?
>>
>>~/src/subversion> svn list ~/tmp/sandbox/ --xml -r40 -v
>><list>
>><listentry
>> name="d"

> Minor point: I think just "entry", not "listentry", would be fine.

Point noted, but we currently have "<log><logentry..." and I have no experience
in XML coding style. The issue is whether it is better to try to use a
separate element name for each distinct element type within our realm. I
suppose not, because taken to the limit that would mean "<file filename=",
"<user username=", etc. OK, I think just "entry" would be better despite our
precedent.

- Julian

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