Is there a convenient way to remove a node via docx4j API?
Posted:
Fri Aug 14, 2009 10:22 pm
by eford
For example, I have a run with bold set on (along with other styling). I'd prefer to simply remove the <w:b> node rather than setting it to false. I thought I came across a description of how to remove nodes but cannot locate it now.
Re: Is there a convenient way to remove a node via docx4j API?
Posted:
Mon Aug 17, 2009 6:05 pm
by jason
eford wrote:For example, I have a run with bold set on (along with other styling). I'd prefer to simply remove the <w:b> node rather than setting it to false. I thought I came across a description of how to remove nodes but cannot locate it now.
Does setting it to null do the trick?