[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Data streams


RE:  Data streams
Yes! This would be an economical use of XML. Problem is, I just don't see
any value in it. It can't be used to populate a spreadsheet and it has no
semantic value. You'd be better off keeping the comma and saving 6
characters. But I think you're on the right track.

-----Original Message-----
From: Michael Kay [mailto:mike@s...] 
Sent: Monday, December 06, 2004 6:20 PM
To: 'Peter Hunsberger'; 'Stephen E. Beller'
Cc: 
Subject: RE:  Data streams

> Use the number 10, now the difference is 51 to 2 or a ratio of ~26 to
> 1.  Use the number 100 and the ratio is 52 to 3 or ~17 to 1.  Six
> digits? 56 to 6 or ~10 to 1. Now add multiple columns of data (as any
> realistic example would do) and the ratio falls even farther.

Now encode your six-digit numbers with a more economical tag such as

<d>123456</d>

and the ratio is 13:7. Might not be everyone's idea of best practice, but if
you want a compromise between size and explicitness then it might be the
right one for you.

Michael Kay
http://www.saxonica.com/



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.