xsl-list
[Top] [All Lists]

Re: Predicate on root node?

2005-02-24 10:08:07
Maybe

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


On Thu, 24 Feb 2005 08:55:39 -0800, Mark Lundquist 
<ml(_at_)wrinkledog(_dot_)com> 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,
—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>
--~--



--~------------------------------------------------------------------
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>