By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,136 Members | 2,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,136 IT Pros & Developers. It's quick & easy.

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

P: 2
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..
Mar 2 '07 #1
Share this Question
Share on Google+
2 Replies


dorinbogdan
Expert 100+
P: 839
Since the problem involves the Java XQueryUtil class, try to post it on the Java forum, in order to get a right answer quicker.
Mar 2 '07 #2

dorinbogdan
Expert 100+
P: 839
Hi,
Did you succeed to solve the problem ?
If yes, please let me know, in order to close the thread.
Thanks,
Dorin.
Mar 21 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.