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
pgpAoF3m9yDmJ.pgp
Description: PGP signature
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users