|
Subject: [xsl] What is the equivalent of this statement ? From: Lucent Lau <lucent.lau@xxxxxxxxx> Date: Sat, 14 Jul 2012 00:47:16 +0700 |
Hello,
If I have this XML structure:
<root>
<elemA>
<elemB>
<elemC id="1"/>
</elemB>
</elemA>
</root>
what is the equivalent of this statement if I do not want to
specifically use elemC
<xsl:apply-templates select="node()[ not( self::elemC[@id=('1')])]" />
Can I say:
<xsl:apply-templates select="node()[ not( self::elemA/*/*[@id=('1')])]" />
Thanks.
Lau
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Recall: [xsl] XML/XSLT Develo, David Carrier | Thread | Re: [xsl] What is the equivalent of, Ihe Onwuka |
| Re: [xsl] New XSLT 3.0 Working Draf, Michael Kay | Date | Re: [xsl] What is the equivalent of, Ihe Onwuka |
| Month |