|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: RFC: Attributes and XML-RPC
Mark Nutter writes:
> At 12:16 PM 09/22/99 -0400, Hunter, David wrote:
> >So even if you
> >compress the files, the attribute version will be able to compress to 50%
> >smaller than the other file. Again, 2KB isn't a lot, but if we're talking
> >megabytes in size, 50% is a lot.
>
> I wrote a quick perl script to take /usr/dict/words and turn it into an XML
> file, with some artificially generated "attributes". In the resulting file
> named attrib.xml, each <word> tag contains the additional information as
> attributes. I did the same thing to produce a file called child.xml,
> except that the additional information is presented as a child element
> instead of as an attribute. Here are the results:
Those are more-or-less the results that I would expect -- XML tags
have good compression characteristics, since there are so many
longish repeated strings (though I am surprised that the attribute
version is so much larger).
All the best,
David
--
David Megginson david@m...
http://www.megginson.com/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








