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:
<vCard xmlns=’‘vcard-temp’’>
555-5555
555-5551
When using DocumentHelper to create those nodes, I end up with this:
<vCard xmlns=’‘vcard-temp’’>
555-5551
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
–
Cameron