Hi,
Just playing with dom4j, excellent. I was a PHP developer for a year and half, just got a new job and started playing around with Jython now I have spare time, its a great language. Was thinking about trying to add a element in between element, example below:
<div id="content">
<p>Some text in here</p>
<!--New p tag here-->
<p>Some text in here</p>
</div>
Is it possible to insert another p tag in between the two without converting the DOM to a string and back to DOM again as this is the only way I have been able to do it?