Hi all This is a follow-up to the mail: http://www.mail-archive.com/jaxen-interest@lists.sourceforge.net/msg00306.html
I am implementing my own taglibs for JDOM, and I am currently working on an if-tag. Jsp Pseudo code: <myTags:if test="//Element[@name] == 'Smith' "> Yes there is a Mr. Smith. </myTags:if> Java Pseudo-Implementation: XPath xp = new XPath("//Element[@name] == 'Smith' "); boolean = xp.test(MyDocument); Is there an elegant way to this ? All help will be appreciated. Thank you Morten -- +---------------------------------------------------------------------+ Morten Vinje mailto:[EMAIL PROTECTED] AdNovum Informatik AG http://www.adnovum.ch phone: +41 (1) 272 6111 Roentgenstrasse 22, CH-8005 Zuerich fax: +41 (1) 272 6312 +---------------------------------------------------------------------+ AdNovum Software Inc. San Mateo, CA 94404 phone: +1 (650) 525 9322 1400 Fashion Island Boulevard, Suite 309 fax: +1 (650) 525 9324 +---------------------------------------------------------------------+ _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest