Hi Renz,
I would suggest to structure the xml file in a different way.
You use the 'action'-tag as root and as a normal element.
Maybe you run in difficulties when you want to evaluate your file.
with my suggestion the transaction are clearly bound to the specific
user. it is more easier to handle this file.
Hope I could help.
greetings
Thorsten
my suggestion:
<action>
<user name='me'>
<trans>add</trans>
<trans>edit</trans>
</user>
<user name='you'>
<trans>add</trans>
</user>
<user name='him'>
<trans>delete</trans>
</user>
</action>
-----Urspr�ngliche Nachricht-----
Von: Renz Daluz [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 26. Oktober 2001 05:52
An: [EMAIL PROTECTED]
Betreff: This might be out of Context
Hi,
I'm using servlet that will read my xml file. Then from my xml file I will
generate some counting
ex.
<actions>
<tran>
<action>add</action>
<user>me</user>
</tran>
<tran>
<action>edit</action>
<user>me</user>
</tran>
<tran>
<action>add</action>
<user>you</user>
</tran>
</action>
>From this, I want to get the total number of <tran>, total number of <tran>
per <user>, total number of <action> per <user> etc.
I hope I stated it clearly.
If you have other suggestion in doing this, feel free to suggest.
Note: Please make it step by step. I'm a newbie :-)
Thanks
BR
/Renz
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html