| <?xml version="1.0"?> |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
| |
| <!-- FileName: namedtemplate19 --> |
| <!-- Document: http://www.w3.org/TR/xslt --> |
| <!-- DocVersion: 19991116 --> |
| <!-- Section: 6 Named Templates --> |
| <!-- Creator: David Marston --> |
| <!-- Purpose: Test import precedence: both ntimpa and ntimpc have "show" template, c wins. --> |
| <!-- Output should be 'Template from ntimpc has been called.' --> |
| |
| <xsl:import href="ntimpc.xsl"/> |
| |
| <xsl:template match="doc"> |
| <out> |
| <xsl:call-template name="show"/> |
| </out> |
| </xsl:template> |
| |
| </xsl:stylesheet> |