[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Representing whole XML documents



Per Bothner scripsit:

> Seems like a good idea.  However, this seems a place where keywords would
> be preferable:
> 
> #&xml{version: 1.1 encoding: "UTF-8" standalone: #t
>   doctype: "HTML"
>   public: "-//W3C//DTD HTML 4.01 Transitional//EN"
>   #<!--comment-->
>   #<html>...</>
> }

Well, that trades off ease of use for ease of implementation.  The
whole advantage of the XML syntax is that you can just paste snippets
of XML into your Scheme.  With this syntax, you can paste whole XML
documents.

-- 
John Cowan  http://ccil.org/~cowan  cowan@xxxxxxxx
All "isms" should be "wasms".   --Abbie