cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: DirectoryGenerator
Date Fri, 29 Oct 2004 14:08:32 GMT
   Date: 2004-10-29T07:08:32
   Editor: ViPi <ViPi@arcor.de>
   Wiki: Cocoon Wiki
   Page: DirectoryGenerator
   URL: http://wiki.apache.org/cocoon/DirectoryGenerator

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -84,8 +84,8 @@
 
 Beginners, when converting this kind of output to HTML, sometimes are facing problems on
dealing with this namespace. Matching the elements is one of them and removing that namespace
from the resulting HTML documents is the other. I've even seen some [http://cocoon.apache.org/link/livesites-2.1.html
Cocoon Live Sites] still bearing this namespace within HTML pages, even though (non-X)HTML
standards do not allow any namespace.
 
-The solution is quite easy. The [http://cocoon.apache.org/2.1/userdocs/generators/directory-generator.html
XSLT Standard] says:
-            '''NOTE:''' When a stylesheet uses a namespace declaration only for the purposes
of addressing the source tree, specifying the prefix in the exclude-result-prefixes attribute
will avoid superfluous namespace declarations in the result tree.
+The solution is quite easy. The [http://w3.org/TR/xslt#literal-result-element XSLT Standard]
says:
+         '''NOTE:''' When a stylesheet uses a namespace declaration only for the purposes
of addressing the source tree, specifying the prefix in the exclude-result-prefixes attribute
will avoid superfluous namespace declarations in the result tree.
 
 As an example, the following stylesheet will transform !DirectoryGenerator's output into
an HTML unordered list with '''no''' such superfluous namespace:
 

Mime
View raw message