Re: [xml-dev] Relax Lexical vs XML Lexical structure

From
Paul Prescod <>
To
"Xml-Dev@Lists. Xml. Org (E-mail)" <>
Date
2002-06-21T17:49:14Z
ID
<>
Thread
Re: [xml-dev] Relax Lexical vs XML Lexical structure
Doug Ransom wrote:
> 
>...
> could be more succiently serialized into a more human and machine readable
> format.  Haskell and python are excellent examples of making code more
> readible using
> indentation instead of seperator tokens.
> 
> K
>    A   b=3   j=8
>    C
> "Cool"

http://www.yaml.org/start.html

--- !clarkevans.com/^invoice
invoice: 34843
date   : 2001-01-23
bill-to: &id001
    given  : Chris
    family : Dumars
    address:
        lines: |
            458 Walkman Dr.
            Suite #292
        city    : Royal Oak
        state   : MI
        postal  : 48046
ship-to: *id001
product:
    - sku         : BL394D
      quantity    : 4
      description : Basketball
      price       : 450.00
    - sku         : BL4438H
      quantity    : 1
      description : Super Hoop
      price       : 2392.00
tax  : 251.42
total: 4443.52
comments: >
    Late afternoon is best.
    Backup contact is Nancy
    Billsmer @ 338-4338.

Good luck with the politics of getting this into XML!

 Paul Prescod