Subject: RE: [xsl] How do I check if an element exists with the same name From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Mon, 26 Mar 2001 10:50:58 +0100 |
> I tried things like: > > <xsl:template match="input-field"> ... > <xsl:apply-templates select="//missing-field[@name={name}]"> You can't use curly braces inside an XPath expression. You need: <xsl:apply-templates select="//missing-field[@name=current()/@name]"> Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How do I check if an elem, David Carlisle | Thread | [xsl] nearest ancestor, Stephane Bailliez |
[xsl] nearest ancestor, Stephane Bailliez | Date | RE: [xsl] Ignoring Child Nodes usin, Michael Kay |
Month |