Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JET Guide
Previous Page Home Next Page

eval()

Additional XPath Functions

eval

Evaluate a dynamically created XPath function and return its result.


Function Summary
 
minimal arguments Object eval (String text)
 
all arguments Object eval (String text)
 

Required Arguments
 
String text any string

There are no optional arguments
 

Example
 
eval(concat('$var/@',$attrName))

if $attrName contains the string 'foo', then returns the result of '$var/@foo'


© Copyright IBM Corporation 2009. All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire