Hi; Yes. For the file encoding, I want to return the value 'utf-8' in the <?xml version='1.0' encoding='utf-8'?> line.
For the existence, I want to write something mode efficient than return Node.selectNodes("xpath_statement").size() > 0; I am assuming I can use the code for selectNodes() but drop out early as soon as I find a node. Finally, I also need to fix the bug (if there is no work-around): > If I call Node.selectNodes("select * from demo where demoId = 6"), it will return an > iterator the returns true for hasNext(). But when you call next() it throws an exception. thanks - dave ----- Original Message ----- From: "Alessandro Vernet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 09, 2003 11:38 PM Subject: Re: [dom4j-dev] Writing some additions to dom4j > [dom4j-user was CCed well. Just replying in dom4j-dev] > > David Thielen wrote: > > > I really need to additions to dom4j (what the file encoding is and does > > a node exist). If I write these is there someone who knows dom4j well > > enough who can check them and bless them for a new build? > > Hi David, > > You mention something related to file encoding and testing the > existence of a node in your email. Can you tell us a little bit more > about those additions? > > Alex > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > dom4j-dev mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dom4j-dev > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev