Fabrice Estivenart writes: > i'd like to save a file with the composer so that i can directly apply > an XSL transformation on it...is it possible to ensure that saved > documents in the composer are well formed XML documents ? or is there > another way to do it ?
Not directly. You might be able to write some code to call the XML serializer instead of the HTML serializer that's normally used for composer output. Here's some background on the serializers: http://www.mozilla.org/editor/serializers.html I'm not sure if there's any interface exposed to JS which allows for XML output. The code in nsWebBrowserPersist.cpp suggests that using nsIWebBrowserPersist from JS and passing in text/xml as the mime type ought to work. If you try it, please report back! ...Akkana _______________________________________________ mozilla-editor mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-editor
