[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Data streams
Title: Re: Data streams Pavel:
I thank you for responding. However, I am unclear as to what you
are saying.
I do not know what svg or sax is, and I have enough on my plate
with learning xml at the moment.
I am simply trying to see if there is a more "efficient"
way of storing data in an xml file than adding enormously redundant
tags to sequential data.
You see, I have text files that are literally tens of thousands
of characters in length -- and if I try to convert them to xml using
tag encapsulation for each data, then it will increase file size
dramatically -- and perhaps prohibitively so when it comes to
displaying the data via html, css, or whatever.
As I understand it, (http://www.w3schools.com/xml/xml_whatis.asp)
xml is designed to describe data and to focus on what data is.
However, in this case, to describe the data with redundant tags simply
adds considerable bulk, which appears to me to blur the focus at bit.
It's like a "No matter how much I add to this, it's still too
long" sort of thing.
Any clarification?
tedd
Tedd, Hi! You can encode a stream as you have done below, this is what svg does right now I believe. However I don't know of any end-to-end XML system that will stream such an encoding. If you tag individual data points, then you will get streaming for free in SAX model of XML processing. Hope this helps, Pavel On Dec 4, 2004, at 7:42 AM, tedd wrote:
-- --------------------------------------------------------------------------------
http://sperling.com/
|
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
|