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

RE: ConciseXML arguments

  • To: "Alaric B. Snell" <alaric@a...>,"Xml-Dev@Lists. Xml. Org (E-mail)" <xml-dev@l...>
  • Subject: RE: ConciseXML arguments
  • From: "Doug Ransom" <Doug.Ransom@p...>
  • Date: Thu, 23 Jan 2003 16:57:06 -0800
  • Thread-index: AcLDFp9oIzPo/mwPSxWmQQ6jY8L4DgAKpy7g
  • Thread-topic: ConciseXML arguments

doug langdale

> Sadly, it's not very nice to look at in XML; I prefer the 
> s-expression 
> approach myself *wicked grin* :-)
> 
> (Person
>      Name: "Alaric Snell"
>  FaveFood: (Food ...))

Not sure if you are being serious, but I will take a shot at XML and S-expressions just in case.

Sadly, S-Expressions are not much better than XML to look it.  Its a little easier to make the content well formed.  The problem is using  tokens like '(' or ')' to seperate elements,  which are great for machine parsing, are hard for people to get visually.  Some languages do a much better job than lisp (and pretty much every other language) and XML:  haskell and sox http://www.langdale.com.au/SOX/ are two great examples.

here is a sox fragment:
html>
    head>
        title> My Home Page
    body>
        h1> Contact Details

Few lines, extremely easy to read.

I think the killer editor for xml would be something like emacs, VS.Net, or any other smart editor that lets one edit in a SOX view, and saves/reads in XML 1.0, and figures out where errors are in sox view if the file is not well formed (although poor-formedness would be harder because of the syntax, its still can be hard to track down with entity references).

Most XML editors I have played with have been really annoying -- editing in some tree/grid type user interface is just not convenient, and its too hard to make the start and end tags match.  The auto-insert of close tag features some text editors have is much less practical than closing an S expression or removing a level of indentdation.

I think a very interesting article about XML would be how it came to be;  why is is tagged text instead of SOX or s-expressions?  What are the drawbacks culturally and tecnically.  If SGML weren't already in existance, would tagged text still have been the design?  

I love XML;  I just wish it weren't so clumsy to edit.

 
Doug Ransom

> ABS
> 
> -- 
> A city is like a large, complex, rabbit
>  - ARP
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> 

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
 

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.