vgritsenko    02/01/17 11:30:53

  Modified:    src/webapp/stylesheets deli_test.xsl
  Log:
  Patch from Butler, Mark [[EMAIL PROTECTED]]
  
  Revision  Changes    Path
  1.2       +12 -2     xml-cocoon2/src/webapp/stylesheets/deli_test.xsl
  
  Index: deli_test.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/stylesheets/deli_test.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- deli_test.xsl     9 Jan 2002 22:20:42 -0000       1.1
  +++ deli_test.xsl     17 Jan 2002 19:30:52 -0000      1.2
  @@ -3,10 +3,20 @@
        <xsl:param name="deli-capabilities"/>
        <xsl:param name="accept"/>
        <xsl:template match="/">
  -             <xsl:if test="contains($accept,'wml')">
  +             <xsl:if test="normalize-space($accept)=''">
  +                     <html>
  +                     <head>
  +                             <title>Test Page for DELI in Cocoon</title>
  +                     </head>
  +                     <body>
  +                             <h1>DELI is switched off</h1>
  +                     </body>
  +                     </html>
  +             </xsl:if>
  +             <xsl:if test="contains($accept,'wml') and 
not(normalize-space($accept)='')">
                        <xsl:call-template name="wmldevice"/>
                </xsl:if>
  -             <xsl:if test="not(contains($accept,'wml'))">
  +             <xsl:if test="not(contains($accept,'wml')) and 
not(normalize-space($accept)='')">
                        <xsl:call-template name="htmldevice"/>
                </xsl:if>
        </xsl:template>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to