Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XSLT checking name of parent node

843834Apr 13 2003 — edited Apr 13 2003
Rather stupid problem, but I'm totally lost here.
I want to write an <xsl:if> to check if the parent to the current node is a <menu>. <xsl:if test="../menu"> doesn't work, since it actually checks if the parent has a child-node <menu> instead of telling me whether the parent itself is.
Any ideas on this would be greatly appreciated..

Tommy Sedin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2003
Added on Apr 13 2003
1 comment
585 views