I developer that is working with me on some of the JiBX has a situation where
they have something like the following:

<sponsor>
   <name>Jon Foo</name>
   <ssn>234234234</ssn>
<sponsor>
<patient>
   <name>Mike Foo</name>
   <ssn>444555656</ssn>
</patient>

He is creating a Sponsor object and Patient object through JiBX.  One thing
he is wondering is that his Patient object has three fields (name, ssn,
sponsorSsn).  He was wondering if he could grab the ssn tag within the
Sponsor while creating the Patient.  I said he could not because (from my
understanding) a Pull Parser runs in the background and therefore you do not
have random access to the XML.  Therefore, he was wondering if it would be
possible to store temporary values when a section of the xml is hit and that
value could be used later in the binding as the value for a field?

I don't know if that makes sense or is even possible.

Thanks,

-jay
--
View this message in context: 
http://www.nabble.com/Possible-enhancement---Temporary-Variables-t1825426.html#a4979300
Sent from the jibx-users forum at Nabble.com.


All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to