commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kartik Asatkar <krakh...@gmail.com>
Subject [Digester] Is capability to set object property based on attribute value comparison present?
Date Wed, 02 Feb 2005 23:50:29 GMT
Hi,

This is regarding Digester v1.6

Is it possible to set an object property with value taken from body or
a particular attribute based on comparison of another attribute value
(this needs to be specified in the xml rule file)?

Something like -
    - if attribute X value matches Y then set parameter N to body of element
    - if attribute X value matches Y then set parameter N to value of
attribute Z

I need to be able to do this in the xml rule file?

regards,
Kartik

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message