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

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

  • From: "William Gilreath" <wgilreath@g...>
  • To: xml-dev@l...
  • Date: Sat, 7 Oct 2006 03:54:52 -0500

encode xml into 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 http://www.williamgilreath.com/xstring.


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 version="1.0" encoding="ISO-8859-1"?>
<duh:ROOT ATTRIBUTE="VALUE" xmlns:duh="http://www.w3.org/noduh">
   <?processing instruction?>
   <![CDATA[function nop(){}]]>

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

Cheers! My best,

Will Gilreath

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.