This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

Reading attribute values of Element

 
ravindra patil
Ranch Hand
Posts: 234
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
on .

i have xml like this

<Root>
<elemt1>
<x name="NONAME" />
<x name="NONAME1" />
<x name="NONAME2" />
<x name="NONAME2" />
</elemt1>
</Root>
here i want to read values of attribute name using XPath , i want to check for duplicate names so want all values of name attribute

-ravi
 
John Jai
Rancher
Posts: 1776
 
Rob Spoor
Sheriff
Pie
Posts: 20381
46
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Ravindra, if you believe your thread has been posted in the wrong forum, don't create a copy in the right forum but ask our staff to move the thread for you. I'll do so with your other thread.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic