1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!-- This is an aggregate-specific target for the PL aggregate.
3 Its function is to drop nodes that do not match the user-specified pattern.
6 <xsl:stylesheet version="1.0"
7 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
8 <xsl:template match="/">
9 <xsl:variable name="result">
10 <xsl:for-each select="//rspec-match/context-input//nodespec">
11 <xsl:variable name="context-hostname" select="hostname"/>
12 <xsl:for-each select="//rspec-match/rule-input//user">
14 <xsl:when test="starts-with($context-hrn, hrn)">
24 <xsl:value-of select="$result"/>