[jdom-interest] Re: Radical Suggestion

Elliotte Rusty Harold elharo at metalab.unc.edu
Mon Jul 29 09:18:36 PDT 2002


At 12:17 PM -0400 7/29/02, David Kavanagh wrote:
>Isn't it true that the getChild(ren)(String name, Namespace ns) 
>method will match any namespace when a null is provided for 
>Namespace? That is how I've been using it since I don't care about 
>namespace in my documents.
>

I think it does, but that aside can I ask why you're doing it this 
way? Why do you find it useful to ignore namespaces when matching 
elements? What documents are you processing, and which elements are 
you searching for in those documents?
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list