472,353 Members | 1,723 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

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

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
wg*******@gmail.com
wi**@williamgilreath.com

Oct 7 '06 #1
1 1403
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
Oct 7 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Johannes Lebek | last post by:
Hi there, I made some changes to my XSL stylesheet and now Xalan 2.5.1 is facing ClassCastExceptions. I'm pretty sure, that the changes I made...
0
by: jaywaller | last post by:
Hello all, This is an announcement of sTToXML, an online, easy-to-use subscription service which closes the loop in data-XML-data conversions. ...
1
by: Guinness Mann | last post by:
Greetings, Could someone point me to the newsgroup in which people are talking about the Visual Studio 2005 Technology Preview? Thanks, --...
3
by: Stijn Oude Brunink | last post by:
Hello I'm using std:vector to hold some pointers vector<CBase*> x; In the debug version I've the following problem: After I've added a...
14
by: Charles Douglas Wehner | last post by:
If you go to http://www.netscape.com and search for Wehner, you will find my site. It will say http://wehner.org You click to preview, and...
7
by: mark | last post by:
Please excuse this blatant attempt at advertising. I hope you find this software both interesting and useful. ...
2
by: Craig Scheets | last post by:
I have writting an application that prints fine, but I have to do a TranslateTransform on the graphics in the OnPagePrint event to get place output...
5
by: Dave A | last post by:
I am writing an ASP.NET tool that will allow the client to create their own online froms. ie the client can add tect boxes, text, drop downs,etc...
2
by: Dean Slindee | last post by:
Anybody written code in VB.NET to: 1) show a print preview window of reports already written and stored in an Access 2002 database; or 2) execute...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.