You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ne...@apache.org on 2007/04/26 00:38:03 UTC

svn commit: r532513 - in /lenya/trunk/src: pubs/default/sitemap.xmap webapp/global-sitemap.xmap

Author: nettings
Date: Wed Apr 25 15:38:03 2007
New Revision: 532513

URL: http://svn.apache.org/viewvc?view=rev&rev=532513
Log:
add missed files from r532359: activate source-code prettyprinting.
mental note: there should be one single place where such stuff can be
added...

Modified:
    lenya/trunk/src/pubs/default/sitemap.xmap
    lenya/trunk/src/webapp/global-sitemap.xmap

Modified: lenya/trunk/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/sitemap.xmap?view=diff&rev=532513&r1=532512&r2=532513
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Wed Apr 25 15:38:03 2007
@@ -309,6 +309,8 @@
                         </map:act>
                       </map:otherwise> 
                     </map:select>
+                    <!-- pretty-print output for easier debugging and for the benefit of new users -->
+                    <map:transform src="fallback://lenya/modules/prettyprinting/xslt/xml2nicexml.xsl"/>
                     <map:serialize type="xhtml"/>
                   </map:otherwise>
                 </map:select>

Modified: lenya/trunk/src/webapp/global-sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/global-sitemap.xmap?view=diff&rev=532513&r1=532512&r2=532513
==============================================================================
--- lenya/trunk/src/webapp/global-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/global-sitemap.xmap Wed Apr 25 15:38:03 2007
@@ -38,6 +38,7 @@
         <map:parameter name="contextprefix" value="{request:contextPath}"/>
       </map:transform>
       <map:transform src="context://lenya/xslt/util/strip_namespaces.xsl"/>
+      <map:transform src="fallback://lenya/modules/prettyprinting/xslt/xml2nicexml.xsl"/>
     </map:resource>  
     <map:resource name="i18n">
       <map:transform type="i18n">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org