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

RE: Help: Reasons to use XML/XSL ?

Subject: RE: Help: Reasons to use XML/XSL ?
From: "Adam Griffin" <agriffin@xxxxxxxxxxxx>
Date: Wed, 19 May 2004 11:57:56 -0400
adam griffin
>From Michael Kay
>XML was not designed to be used as a format for transient data that is
en route from the database to the browser. >People are using it for that
task, and once you're sold on XML you will probably want to use it for
that task, but >that's not the job it was designed for.


This one aspect has been something I've often pondered. It seems a
standard for a condensed scheme could be developed for transient "XML"
(although it wouldn't be XML anymore). Something so the heft of the XML
structure isn't repeated yet structure is maintained and data can get
compressed by different means if necessary. When ready the data could be
streamed. It seems this would greatly aid in moving large data across
networks where the size of heavy markup in XML makes the cost
prohibitive.

Some possibilities:

1. the document/stream could be "preparsed" for structure and the data
retrieved as it arrives (or is needed?) since it may still be in route
further down the stream.

2. optional supported compression utilities (since the recipient would
need to know how to uncompress).

3. optional limits on size of data to when compression is no longer
beneficial.


Quick example (not using attributes):

<document>
	<elemA>Some data</elemA>
	<elemB>Other data</elemB>
	<elemB>More data</elemB>
	<elemB><elemC>Weeeeeeee</elemC></elemB>
	<elemD>binaryblahblah</elemD>
</document>


[definition]
1=document
2=elemA
3=elemB
4=elemC
5=elemD
[structure]
1>2=A 3=B 3=C 3>4=D< 5=E<
[data]
A=Some data[eod]
B=Other data[eod]
C=More data[eod]
D=Weeeeeee[eod]
E=Binaryblahblah[eod]


After typing all this, I realize it may be off topic but, I am curious
about it.

Current Thread

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
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.