Hi,

>Hello,
>            First off I am new to this list and dom4j and I am currently
>evaluating its use in a project. I will start by saying I think it's a
>great project and seems to be exactly what I have been looking for. 

Thank you.  We are always happy hearing that :).

>            I have a couple of questions regarding the usage of dom4j,
>again I have read the licence and I think I understand the implications
>but I would like to state how I would like to use dom4j to see if there
>are any licence issues:
 
> 1) I will never ship dom4j in source code form.
>
> 2) dom4j will only exist as an internal, non API accessible part of a
> commercial application (user or developer will not see org.dom4j.*.)

Okay.

>3) The dom4j used may have modified source code (although this is highly
>undesirable I would endeavour to just plug-in the dom4j jar as is)

How do you mean that? Fixes? Addons? Please fill free to post such stuff
here as well as here, so we can decide to make it open to the public. It's just
to avoid to create thousands of versions of dom4j ;).
 
>Assuming all the copyrights notices are in the right place and the dom4j
>project is credited in documentation do you see a problem with the above
>usage?

Seems so. One thing you cant to do is to sell dom4j as your own idea.

> As you may have guessed I have to persuade management to accept
>the usage of dom4j.

We use a lot of OpenSource. Tomat and JBoss for example works fine. dom4j is
one of best desinged Open Project (beside JUnit) I know. But I understand
that you need information. :)
 
 
>I am looking at the Swing sample code and trying to integrate my own
>swing JTree with dom4j. I am wondering is there still an issue with the
'>leaf' node as mentioned in a mail in the archive.
>Basically my code currently loads up my XML in dom4j and then the JTree
>loads the model and the whole XML model is displayed correctly except
>'attributes'. Is there a way to get at the attributes from a branch ?

A Branch is not a element. Only Elements have attributtes. The hirachy looks
like this.

       Node  ( atomic )
          |
          |
       Brach  ( can have children)
          | 
          | 
      Element ( can have children and attribues)


Have you look into org.dom4j.swing.*; package? Sorry I'm not very close to
swing or the swing stuff James an other's written for dom4j. 
 
Bye
Toby

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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

Reply via email to