chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] SXML tutorial draft


From: Peter Bex
Subject: Re: [Chicken-users] SXML tutorial draft
Date: Wed, 7 Feb 2007 22:35:25 +0100
User-agent: Mutt/1.4.2.2i

On Tue, Feb 06, 2007 at 01:37:09PM +0300, Dmitry Lizorkin wrote:
> I can think of two approaches:
> 
> 1. Completely removing "xmlns='http://www.w3.org/1999/xhtml' " from 
> consideration here. However, as this namespace declaration is the essential 
> part of the XHTML recommendation, such an approach may not be acceptable 
> when generating complete XHTML pages.

Exactly, so I'll keep the namespace and go for door number two :)

> 2. Explicitly stating (e.g., in a note or a footnote) that the SXML fragment 
> presented is not obtained by automatically translating the XHTML page 
> (although the XHTML page _can_ be obtained from that SXML fragment by 
> automatic conversion tools, and _that_ kind of conversion is the ultimate 
> goal of our activity when generating dynamic websites with SXML). For 
> example, you may wish to put it like this: "For simplicity, we treat XML 
> namespace declarations as common attributes throughout this tutorial. 
> Although slightly different from namespaces treatment in SXML, such an 
> interpretation allows us to achieve desired and well-formed results in the 
> generated XHTML documents. The detailed discussion on XML namespaces 
> handling in SXML is outside the scope of this tutorial."

I've included a footnote that explains it would look different when you let
SSAX do the translation.

> Hope these thoughts will help in improving your tutorial.

Absolutely!  Thanks a lot.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpyIijHxopdh.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]