Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modifying the value of an attribute

 
ajse ruku
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
How we can change the value of an attribute(delete the attribute then add again with new value) or there is some other way?I have tried using element.removeAttribute("name").But it is not working.Please express your views.

with regards,
ajse
 
Kartik Lax
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Just have a look at the javadoc for the removeAttribute() method...here

What does your DTD/Schema contain ?
[ August 02, 2006: Message edited by: Kartik Lax ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic