Connecting Tech Pros Worldwide Help | Site Map

how to get rid of <?xml version="1.0" encoding="UTF-> after performing Serialisation

Newbie
 
Join Date: Mar 2007
Posts: 2
#1: Mar 2 '07
Hello

The steps which i am doing in my program
1) I am having an xml file.
2) I am performing some updations in the file using XQueryUtil class from nux package.
3)After that i am performing Serialisation ( nu.xom.Serializer ) and storing in a file.
4)This Serialised file is being appended in a separate file.
5) Steps 3) and 4) are performed for som n no. of times
The problem is whenever i serialised i get this line
"<?xml version="1.0" encoding="UTF-8"?>" so my appended file consists of n no of these lines which is wrong.How i can get rid of these lines?
Is there any simple way other than overriding ? I have to do serialisation as my changes (step 2) are not reflected unless i do Serialisation.

Thank You..
dorinbogdan's Avatar
Expert
 
Join Date: Feb 2007
Posts: 822
#2: Mar 2 '07

re: how to get rid of <?xml version="1.0" encoding="UTF-> after performing Serialisation


Since the problem involves the Java XQueryUtil class, try to post it on the Java forum, in order to get a right answer quicker.
dorinbogdan's Avatar
Expert
 
Join Date: Feb 2007
Posts: 822
#3: Mar 21 '07

re: how to get rid of <?xml version="1.0" encoding="UTF-> after performing Serialisation


Hi,
Did you succeed to solve the problem ?
If yes, please let me know, in order to close the thread.
Thanks,
Dorin.
Reply