Actually, after "fixing" the html, I still continue to have the problem of
the null pointer exception.  I can't figure out what is causing it.  In the
interim, I just wrapped the code that throws the exception with a try/catch
clause and ignore the exception.

I'm still a bit puzzled about how to rename elements however.  As far as I
can tell from the API, there are some situations where a node is read-only,
and you  can't modify it's contents.

As near as I can tell, you are forced to create a new document, and stick in
the nodes you want in their appropriate locations if you want to rename
them.  With large documents this is prohibitively difficult.... I'm curious
why the setName() method can't be used.




_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to