954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Please How to get and count a value of an attribute from a line full of attributes

Hello,

I need help to parser a doc xml. I need to get the value of @show, but only on the lines with @name="wlan.seq". And after, I need to know how many times the same value of @show was repeated in the doc xml (if it was repeated). How do i do that? Is there anybody that can help me please?

Thanks.

Seane Argentina
Newbie Poster
2 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

Your question is somewhat vague. Using your example, do you want a count of all instances of "2722", i.e. 2, or just the instances where show=2722, i.e. 1, or what?

fpmurphy
Junior Poster
147 posts since Oct 2008
Reputation Points: 22
Solved Threads: 11
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You