2002/ws/desc/test-suite missing-roots.xml,NONE,1.1 missing-roots.xsl,NONE,1.1

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

Added Files:
	missing-roots.xml missing-roots.xsl 
Log Message:
synching up

--- NEW FILE: missing-roots.xsl ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
	This stylesheet has not been automatically generated. Do
	edit it!
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	exclude-result-prefixes="tm"
	xmlns:tm="http://www.w3.org/2006/02/wsdl/TestMetadata" version="1.0">

	<xsl:strip-space elements="*" />
	<xsl:output method="xml" indent="yes" />

	<xsl:template match="/">
		<MissingRoots>
			<xsl:for-each select='test-suite/test-case'>
				<xsl:variable name='test-id' select='@id' />
				<xsl:for-each
					select="document(@href)/tm:TestMetadata//tm:Inputs">
					<xsl:if test="not(tm:Input[@role='root'])">
						<MissingRoot test-id='{$test-id}'>
						</MissingRoot>
					</xsl:if>
				</xsl:for-each>
			</xsl:for-each>
		</MissingRoots>
	</xsl:template>

</xsl:stylesheet>

--- NEW FILE: missing-roots.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<MissingRoots/>

Received on Thursday, 16 November 2006 18:38:18 UTC