2002/ws/desc/test-suite/results-messages evaluate-html-log-xsl.xslt,1.1,1.2

Update of /sources/public/2002/ws/desc/test-suite/results-messages
In directory hutz:/tmp/cvs-serv29701

Modified Files:
	evaluate-html-log-xsl.xslt 
Log Message:
Updated


Index: evaluate-html-log-xsl.xslt
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/evaluate-html-log-xsl.xslt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** evaluate-html-log-xsl.xslt	18 Nov 2006 10:22:44 -0000	1.1
--- evaluate-html-log-xsl.xslt	18 Nov 2006 14:28:38 -0000	1.2
***************
*** 48,51 ****
--- 48,68 ----
  	    <h1>Message exchange results       <xsl:element name='xsl:value-of'>
  	    <xsl:attribute name='select' namespace=''>$TODAY</xsl:attribute></xsl:element></h1>
+ 	    <h1>From
+ 	      <xsl:element name='xsl:call-template'>
+ 		<xsl:attribute name='name'>find-agent</xsl:attribute>
+ 		<xsl:element name='xsl:with-param'>
+ 		  <xsl:attribute name='name'>message</xsl:attribute>
+ 		  <xsl:attribute name='select'>/l:log/l:message[@type="request"]</xsl:attribute>
+ 		</xsl:element>
+ 	      </xsl:element>
+ 	      to
+ 	      <xsl:element name='xsl:call-template'>
+ 		<xsl:attribute name='name'>find-agent</xsl:attribute>
+ 		<xsl:element name='xsl:with-param'>
+ 		  <xsl:attribute name='name'>message</xsl:attribute>
+ 		  <xsl:attribute name='select'>/l:log/l:message[@type="response"]</xsl:attribute>
+ 		</xsl:element>
+ 	      </xsl:element>
+ 	    </h1>
  	    
  	    <div>
***************
*** 66,72 ****
  	</html>
        </xsl:element>
        <xsl:apply-templates select='/a:assertionSets/a:assertionSet' />
! 
      </xsl:element>
    </xsl:template>
  
--- 83,114 ----
  	</html>
        </xsl:element>
+       <xsl:element name='xsl:template'>
+ 	<xsl:attribute name='name'>find-agent</xsl:attribute>
+ 	<xsl:element name='xsl:param'>
+ 	  <xsl:attribute name='name'>message</xsl:attribute>
+ 	</xsl:element>
+ 	
+ 	<xsl:element name='xsl:choose'>
+ 	  <xsl:element name='xsl:when'>
+ 	    <xsl:attribute name='test'>$message/l:httpHeaders/l:Server</xsl:attribute>
+ 	    <xsl:element name='xsl:value-of'>
+ 	      <xsl:attribute name='select'>$message/l:httpHeaders/l:Server</xsl:attribute>
+ 	    </xsl:element>
+ 	  </xsl:element>
+ 	  <xsl:element name='xsl:when'>
+ 	    <xsl:attribute name='test'>$message/l:httpHeaders/l:User-Agent</xsl:attribute>
+ 	    <xsl:element name='xsl:value-of'>
+ 	      <xsl:attribute name='select'>$message/l:httpHeaders/l:User-Agent</xsl:attribute>
+ 	    </xsl:element>
+ 	  </xsl:element>
+ 	  <xsl:element name='xsl:otherwise'>
+ 	    <xsl:text>Unknown</xsl:text>
+ 	  </xsl:element>
+ 	</xsl:element>
+       </xsl:element>
        <xsl:apply-templates select='/a:assertionSets/a:assertionSet' />
!       
      </xsl:element>
+     
    </xsl:template>
  
***************
*** 133,135 ****
--- 175,178 ----
  
    </xsl:template>
+   
  </xsl:stylesheet>

Received on Saturday, 18 November 2006 14:28:52 UTC