File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
XML and Related Technologies
Modifying the value of an attribute
Joined: May 06, 2005
Aug 02, 2006 07:27:00
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.
Joined: Apr 23, 2006
Aug 02, 2006 08:08:00
Just have a look at the javadoc for the removeAttribute() method...
What does your DTD/Schema contain ?
[ August 02, 2006: Message edited by: Kartik Lax ]
It is sorta covered in the
JavaRanch Style Guide
subject: Modifying the value of an attribute
How to set Default selection in h:selectOneMenu
Field display problem
Help pls -Urgent(logic:iterate)
Obtaining data from form elements
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015