Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Announcing a Preview of XString, an XML technology - XML as a String

Reply
Thread Tools

Announcing a Preview of XString, an XML technology - XML as a String

 
 
wgilreath@gmail.com
Guest
Posts: n/a
 
      10-07-2006
Announcing a Preview of XString, an XML technology - XML as a String.

I've created a means to efficiently encode XML as a flat string,
which I term XString. I've written a paper, put some examples, and
have created an online demonstration that can process XML into XString.

My goal in annoucing/previewing the technology is to get comments and
feedback from others to inspire and guide future efforts.

Online at www.williamgilreath.com/xstring.

Synopsis:

XML requires a parser to process and tree structure to represent the
markup. XML by its very nature creates a verbose, bloated document.
Such a big, unwieldy structure is complex to handle.

XString is an efficient encoding for XML as a long string, but not as
large, complex, data structure. XString compresses XML into a more
compact representation, and one that is manipulated as a string. The
syntax style is similar to XPath, so familiar and not completely
unusual in representation.

The five major points about XString:

XString is XML just encoded differently.
XString is similar in syntax to XPath so familiar.
XString is more compact (compressed) in representation so less data
bloat.
XString is useable where ever XML is used, such as SOAP or XHTML.
XString allows XML to be embedded in XML.

Quick-and-dirty example of XML and XString:

XML:

<?xml version="1.0" encoding="ISO-8859-1"?>
<duh:ROOT ATTRIBUTE="VALUE" xmlns:duh="http://www.w3.org/noduh">
<duh:CHILD>text</duh:CHILD>
<duh:EMPTY EMPTY_ATTRIBUTE/>
<!--comment-->
<?processing instruction?>
<![CDATA[function nop(){}]]>
<duh:NIL></duh:NIL>
</duh:ROOT>

XString:

/duh:ROOT+7@ATTRIBUTE=VALUE@xmlns:duh=http://www.w3.org/noduh/duh:CHILD+1'text/duh:EMPTY+0@EMPTY_ATTRIBUTE-comment?processing
instruction[function nop(){}/duh:NIL+0


Cheers! My best,

Will Gilreath



 
Reply With Quote
 
 
 
 
Joe Kesselman
Guest
Posts: n/a
 
      10-07-2006
Great; yet another pretokenized-XML syntax. This has been done
repeatedly, and in general turns out to be much less useful that it
initially appears -- partially because some off XML's value is tied up
in the fact that it is fairly human-readable, partly because XML parsing
is actually faster than most folks think it is, partially because you
can get better size reduction by simply putting standard XML through
standard compression algorithms.

Which problem are you trying to solve, and have you run the numbers to
confirm that your solution is actually a good one?


--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JDBCPersistence Technology Preview Release alexr Java 2 08-27-2006 03:46 PM
Preview: Dystopia Preview Silverstrand Front Page News 0 02-05-2006 03:15 AM
[ANN] Frameless RDoc template ('technology preview') ES Ruby 16 06-21-2005 05:54 PM
Anyone know anything named DX? (was Re: Announcing PyCs) (was:Announcing PyCs, a new Python-like language on .Net) Mark Hahn Python 22 09-09-2004 12:14 PM
[ANN] PDF::Writer Technology Preview Austin Ziegler Ruby 0 09-17-2003 03:58 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57