| 
 
Subject: Re: [xsl] xpath confusion (compound xpath) From: S Woodside <sbwoodside@xxxxxxxxx> Date: Tue, 21 Jan 2003 23:52:13 -0500  | 
What am I doing wrong?
The problem is here:
<xsl:when test="/grammar/start/element/zeroOrMore/choice/element[1]// zeroOrMore//*[self=current()]">
You are testing if the current node has child named "self" and its string value is equal to the string value of the current node.
Obviously, you wanted:
/grammar/start/element/zeroOrMore/choice/element[1]//zeroOrMore// *[generate-id() = generate-id( current())]
simon --- www.simonwoodside.com
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] xpath confusion (compoun, Dimitre Novatchev | Thread | RE: [xsl] xpath confusion (compound, Roger Glover | 
| Re: [xsl] top level params and xsl:, S Woodside | Date | RE: [xsl] xpath confusion (compound, Edward . Middleton | 
| Month |