Re: [dom4j-user] parsetext with xmlns

2007-04-04 Thread Edwin Dankert
Please see the following previous messages: http://www.mail-archive.com/dom4j-user@lists.sourceforge.net/msg02542.html http://www.mail-archive.com/dom4j-user@lists.sourceforge.net/msg02347.html http://www.mail-archive.com/dom4j-user@lists.sourceforge.net/msg02320.html Regards, Edwin -- http://ww

[dom4j-user] parsetext with xmlns

2007-04-03 Thread dennis
Hi, I'm trying to parse a string (that is an xml document). It looks like this: http://frodo/hobbit";>cheeseham by doing this: Docment docIn = DocumentHelper.parseText(input); and then trying to retrieve values by: docIn.valueOf("//Item1"); and this fails, it looks like due to the xmlns a

Re: RES: [dom4j-user] parseText()

2005-08-15 Thread Edwin Dankert
agem original- > De: Edwin Dankert [mailto:[EMAIL PROTECTED] > Enviada:seg 8/15/2005 8:36 > Para: Heitor Barbieri > Cc: dom4j-user@lists.sourceforge.net > Assunto:Re: [dom4j-user] parseText() > The addText method always escapes characters like &#x

RES: [dom4j-user] parseText()

2005-08-15 Thread Barbieri, Heitor (BIR)
:[EMAIL PROTECTED] Enviada:seg 8/15/2005 8:36 Para: Heitor Barbieri Cc: dom4j-user@lists.sourceforge.net Assunto:Re: [dom4j-user] parseText() The addText method always escapes characters like '&' and '<' otherwise the output XML would not be well-formed.

Re: [dom4j-user] parseText()

2005-08-15 Thread Edwin Dankert
The addText method always escapes characters like '&' and '<' otherwise the output XML would not be well-formed. Regards, Edwin On 7/25/05, Heitor Barbieri <[EMAIL PROTECTED]> wrote: > > Why do I get different outputs for the 'root' element in the following > program ? How can I get > the same

[dom4j-user] parseText()

2005-07-25 Thread Heitor Barbieri
Why do I get different outputs for the 'root' element in the following program ? How can I get the same output using partText ? Element root1 = DocumentHelper.createElement( "root" ).addText( "≤" ); Document document = DocumentHelper.parseText("≤"); System.out.println