[xsl] Predicate on root node?

Subject: [xsl] Predicate on root node?
From: Mark Lundquist <ml@xxxxxxxxxxxxxx>
Date: Thu, 24 Feb 2005 08:55:39 -0800

I want a template that will match the root node if it has a particular
child node, but this

<xsl:template match="/[some-node]"

results in

A node test that matches either NCName:* or QName was expected.

(from Xalan). What's the right way to say what I'm trying to say? :-)


Current Thread