{ Frameless }

XTDE1260

XSLT error message

You have used an unkown key for the key() function. Have you made a typo in either the key() function arguments or in the <xsl:key name="">?

For example:

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:key name="chapter" match="chapter" use="title"/>

  <xsl:template name="text">
    <xsl:apply-templates select="key('chpater', 'Introduction')"/>

See also: XSLT 2.0 specification.