P
peter.o.mueller
Hi all,
I want to store a String in a XML document using jdom. The string
contains some backslash chars becauase it is a path to an application
on Windows (e.g. c:\\fiels\ ...)
Jdom complains that is not possible to store backslash chars. One
solution is to replace the backslash chars before saving the string and
do the reverse when loading the XML file.
I used the replace method of the String class. But the backslash signs
gets not replaced. Any ideas?
Thanks,
Peter
I want to store a String in a XML document using jdom. The string
contains some backslash chars becauase it is a path to an application
on Windows (e.g. c:\\fiels\ ...)
Jdom complains that is not possible to store backslash chars. One
solution is to replace the backslash chars before saving the string and
do the reverse when loading the XML file.
I used the replace method of the String class. But the backslash signs
gets not replaced. Any ideas?
Thanks,
Peter