1 <?xml version='1.0'?> 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 3 <!-- FileName: SimpleImport.xsl --> 4 <!-- Author: shane_curcuru@lotus.com --> 5 <!-- Purpose: Basic import and include tests for StreamSource APIs. --> 6 7 <xsl:template match="list"> 8 <import-list> 9 <xsl:apply-templates/> 10 </import-list> 11 </xsl:template> 12 13 <xsl:template match="item[@match-by='import']"> 14 <matched-by-import> 15 <xsl:value-of select="." /> 16 </matched-by-import> 17 </xsl:template> 18 19 <xsl:template match="item"> 20 <matched-by-import-also> 21 <xsl:value-of select="." /> 22 </matched-by-import-also> 23 </xsl:template> 24 25 </xsl:stylesheet>