Re: [dom4j-dev] About namespaces

2008-07-05 Thread Paul Libbrecht
Patrizio, xmlns:myns="xxx" associates the namespace xxx to all descendent elements that have the prefix myns. xmlns="xxx" associates the namespace xxx to all descendent elements that don't have a prefix. hope it helps. paul Le 04-juil.-08 à 17:09, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]

[dom4j-dev] About namespaces

2008-07-04 Thread Patrizio.Ferlito
Hi all, I'm trying to understand better the namespace topic. If I've a document like below: [DOC1] http://something";> 2007 2008 if I want access book elements with xpath expression I should use /myns:books/book and not /myns:books/myns:book (I've used XMLSpy). So I deduce that