JDOM and &qout;
From: mali_djuro (mali_djuroMAKNIOVO_at_net.hr)
Date: 01/31/04
- Next message: Tux: "Eclipse for Linux: missing charset in String..."
- Previous message: Chris: "Re: how to use using client side certifcates?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 31 Jan 2004 09:35:59 +0100
Hi all,
i used JDOM to create XML file.
first, i get data from database and create Document object. in some data i
have quotas, so it makes replacment in content of elements. for example:
if i have "Hi" in database, i will have "Hi" in content of
element. And it is ok, because in xml does not exist ", at least i think
that.
After it i want to make convert from document to string. I used
XMLOutputter serializer = new XMLOutputter();
String output = serializer.outputString(document);
now, when i look what's happened with "Hi" i found following
string
"Hi"
it makes conversion of & again, and that is not ok.
has someone similiar problem? or do you know how to solve it?
i can make parsing of string again and cut what is wrong, but is it possible
to set something without that?
thanks in advance.
- Next message: Tux: "Eclipse for Linux: missing charset in String..."
- Previous message: Chris: "Re: how to use using client side certifcates?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|