Hello all,
Here I come again with my digester :))
So, I have my xml file, I have created my digester and all the needed
classes for my xml tags, and do a digester.parse(). Still here all is ok.
I start Tomcat 5.0 and look to the log file. All seems ok, my xml file is
consumed, all the classes are instancied etc...etc...
My question:
If I have an xml file like this
<computer>
<brand name="compcool">
<model>faster_than_all</model>
<serialnumber>1248965<serialnumber>
</brand>
<brand name="pcassociated">
<model>very_expensive</model>
<serialnumber>34564<serialnumber>
</brand>
<brand name="pcassociated">
<model>expensive_too</model>
<serialnumber>9999999999<serialnumber>
</brand>
</computer>
how can I get after in my Java code the serial number of the model "expen
sive_too" for example??? How can I be sure to get the good data as I have
two identical brand names?
Thank you for your help.
Regards,
Manuel
ps: I know that for someones the question seems to be very basic but
remember when you were beginner and be kind to me
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]