[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: merge mode for XMLp
From: |
Joi Ellis |
Subject: |
RE: merge mode for XMLp |
Date: |
Mon, 29 Apr 2002 10:50:52 -0500 (CDT) |
On Mon, 29 Apr 2002, Gary Bisaga wrote:
> >Doesn't everyone format their XML like that? I.e. like HTML so that
> >tags are on their own lines and there are extra blank lines (that won't
> >be treated as data) between groups of items and even between items too?
Some XML toolkits don't add newlines between XML tags and many parsers
don't preserve them by default. The only place newlines are preserved by
default is within an tag's own content.
Some other toolkits generate nicely-formatted, nested/indented structures.
I gladly trade the extra few bytes of whitespace for the ability to read the
document easily.
> Not only do tools not always follow these rules, you can't even always treat
> HTML like that. Besides making a huge file, it messes up the rendering of
> tables with sliced-up images.
Assuming an average line length of 40 characters, the growth in an html
file that contains newlines is only 5%. If the file is already so large
than an extra 5% is noticable, you have other problems. You'll see more
degradation by using whitespace to indent the markup than you will from
the use of newlines.
--
Joi Ellis Software Engineer
Aravox Technologies address@hidden, address@hidden
No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson
- RE: merge mode for XML, (continued)
- RE: merge mode for XML, Paul Sander, 2002/04/29
- RE: merge mode for XML, Sean Hager, 2002/04/30
- RE: merge mode for XML, Greg A. Woods, 2002/04/30
- RE: merge mode for XML, Noel Yap, 2002/04/30
- Re: merge mode for XML, Paul Sander, 2002/04/30
- RE: merge mode for XML, Gary Bisaga, 2002/04/29
- RE: merge mode for XMLp,
Joi Ellis <=
- RE: merge mode for XMLp, Gary Bisaga, 2002/04/29
- RE: merge mode for XML, Greg A. Woods, 2002/04/29
- RE: merge mode for XML, Noel Yap, 2002/04/29
- RE: merge mode for XML, Greg A. Woods, 2002/04/29
- RE: merge mode for XML, Noel Yap, 2002/04/29
- RE: merge mode for XML, Greg A. Woods, 2002/04/30
- RE: merge mode for XML, Noel Yap, 2002/04/30