I have a question about the file encoding. I'd like to have xmlmind save the
output file in US-ASCII. So in the Save Options, I've selected US-ASCII.
This works fine in the application. The problem that I have is in the
applet. When I go through the applet, I use javascript to pull out the
edited xml.
<script>
function onSubmitForm() {
var xxe = document.XXE;
var myTextField =
document.getElementById('editChapter:xxeDoc');
myTextField.value = xxe.getDocumentContents(null, null);
}
</script>
This doesn't seem to work the same way as the File->Save because the output
file is always in UTF-8. Is there any way around this?
Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20100325/1101457b/attachment.htm