473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 1464
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 should work (they are quite complicated -- I'd like...
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. sTToXML will: * Create template spreadsheets for...
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, -- Rick
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 couple of pointers using the push_back function and I...
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 find that my home page is too big for the preview...
7
by: mark | last post by:
Please excuse this blatant attempt at advertising. I hope you find this software both interesting and useful. http://www.caddproductivity.com/dataswap.htm Data Swap The Data Swap program...
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 at exact X,Y (the application prints checks and...
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 with absolutely no technical skill what so ever....
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 the print of a report stored in an Access 2002...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.