On 11/24/11 5:14 AM, "Brian Abram" <[log in to unmask]> wrote:
>Should generated XML be formatted so that humans can scan through it
>easily?
No.
>Why was XML developed?
Lots of reasons, not all with the same parameters on usage.
>Is it efficient or concise?
It's neither.
>I request anyone generating XML to remember that humans need to look at
>it too, often in a basic terminal.
Because it's XML you can easily run it through a formatter like xmllint if
you want to read it. You will get nowhere trying to impose that
requirement on the source of the XML.
-- Scott
|