This is my first venture into Java hacking, so be gentle.
I’‘m trying to fix some bugs in the ldap-vcard code posted by Robert to JM-121. I’‘ve run into an issue using dom4j.DocumentHelper. Here’'s what I want the output to be:
When using DocumentHelper to create those nodes, I end up with this:
You can see that DocumentHelper doesn’‘t create a new node, it just builds upon the one that’'s already in the document. What is the best way to get around this? Is there some sample code in other parts of the source tree that could help me out? Thanks