Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 90248 invoked by uid 500); 16 Sep 2002 09:36:24 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 90235 invoked from network); 16 Sep 2002 09:36:23 -0000 Message-ID: <3D85A5E3.4020500@apache.org> Date: Mon, 16 Sep 2002 11:35:31 +0200 From: Nicola Ken Barozzi Reply-To: nicolaken@apache.org Organization: Apache Software Foundation User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Is it a good idea to avoid the use of xsp ? References: <20020912124913.34592.qmail@web12906.mail.yahoo.com> <200209151840.55404.kjetil@kjernsmo.net> <3D84E9A2.2020901@gmx.de> <200209152224.03651.kjetil@kjernsmo.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Kjetil Kjernsmo wrote: > On Sunday 15 September 2002 22:12, Joerg Heinicke wrote: > >>Hello, >> >>why do you have to create HTML with XSP? We are using the XSP for >>creating XML, which will be transformed later via XSLT. This way is >>clean enough for SoC I think. > > > I must admit that I can't really see the gain with respect to do a > rigorous seperation of markup from logic. XML and HTML, that's both > markup, and they are pretty similar in appearance. Though I think of > (X)HTML as mostly transitional technology these days, XML isn't that > fundamentally different from HTML so that if you output XML it isn't > very different from outputting HTML. Though you can transform XML, I > can't see how using XML will improve the readability of your code... It all depends on what you are transforming. XHTML has a low *semantic* content, because it does not use tags that give big insight to what they contain. If I write Apache Me MEME or

Organization: Apache

  • Me MEME
Do you see the difference? The first way can be processed in much more ways than the second, like a Database with a schema can be used much more than a plain text file. It all boils down to what you are producing; if you are producing generic articles, the latter is more suited. For example, on Forrest and in the Cocoon docs there is a documentDTD that is roughlt XHTML for general docs. Then we also have the todo and changes DTDs, that get converted to the documentDTD before rendering. In this way we have two layers: a generic one and more specialized one. The skin is used to convert the generic one and the specialized ones get converted in the generic one. -- Nicola Ken Barozzi nicolaken@apache.org - verba volant, scripta manent - (discussions get forgotten, just code remains) --------------------------------------------------------------------- --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: