1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <xsl:template match="//rspec-match">
5 <xsl:variable name="result">
6 <xsl:for-each select="//rspec-match/context-input//user">
7 <xsl:variable name="context-hrn" select="hrn"/>
8 <xsl:for-each select="//rspec-match/rule-input//user">
10 <xsl:when test="starts-with($context-hrn, hrn)">
20 <xsl:value-of select="$result"/>