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

Re: Representing whole XML documents

This page is part of the web mail archives of SRFI 107 from before July 7th, 2015. The new archives for SRFI 107 contain all messages, not just those from before July 7th, 2015.



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