| <?xml version="1.0"?> |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
| |
| <!-- FileName: AXES36 --> |
| <!-- Document: http://www.w3.org/TR/xpath --> |
| <!-- DocVersion: 19991116 --> |
| <!-- Section: 2.2 --> |
| <!-- Purpose: Test for 'parent::' Axis Identifier using specified element name. --> |
| |
| <xsl:template match="/"> |
| <out> |
| <xsl:for-each select="//center"> |
| <xsl:apply-templates select="parent::near-north"/> |
| </xsl:for-each> |
| </out> |
| </xsl:template> |
| |
| <xsl:template match="*"> |
| <xsl:value-of select="name(.)"/> |
| </xsl:template> |
| |
| </xsl:stylesheet> |