Subject: Re: Predicate on root node?
From: António Mota <amsmota@xxxxxxxxx>
Date: Thu, 24 Feb 2005 17:08:07 +0000
|
Maybe
<xsl:template match="/*[some-node]"
On Thu, 24 Feb 2005 08:55:39 -0800, Mark Lundquist <ml@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> 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? :-)
>
> thx,
> bmlb
|