Co-authored-by: Adam Bem <adam.bem@zoho.eu> Co-authored-by: Dariusz Augustyniak <augustyd@noreply.example.com> Co-authored-by: Mikolaj Widla <widlam@noreply.example.com> Reviewed-on: #177
		
			
				
	
	
		
			14 lines
		
	
	
		
			556 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			556 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 | |
|     xmlns:b="http://www.release11.com/book" xmlns:p="http://www.release11.com/person"
 | |
|     xmlns:l="http://www.release11.com/library">
 | |
|     <xsl:template match="/">
 | |
|         <Library>
 | |
|             <ReaderCount>
 | |
|                 <xsl:value-of select="count(//p:person)" />
 | |
|             </ReaderCount>
 | |
|             <BookCount>
 | |
|                 <xsl:value-of select="count(/l:library/l:bookList/b:book)" />
 | |
|             </BookCount>
 | |
|         </Library>
 | |
|     </xsl:template>
 | |
| </xsl:stylesheet> |