commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "NGOR Eric" <>
Subject Digester conditional parsing
Date Tue, 30 Mar 2004 13:21:57 GMT
I would like to know if it is possible to do conditional parsing with Digester :

Example :
I have this in my xml document :
<girl type="blonde"/>

-->According to the parsing of the 'type' attribute, I would like to create different objects.

Is it possible to create an object dependant of the value of an attribute?
How to do so?

Thanks in advance,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message