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
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
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
:[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.
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
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