xsl-list
[Top] [All Lists]

Predicate on root node?

2005-02-24 09:55:39
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,
—ml—


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>