See http://xmlmind.com/xmleditor/_distrib/doc/xhtml/menu.html#preview
The XHTML menu’s Preview option, when used with XInclude, creates the preview in a temporary folder.
There are several problems with the way this currently (XMLmind 8.1) works:
1. The Preview function doesn’t manage to calculate correct URLs. For instance, on my Mac, the @src <script> of <img> is miscalculated. 2. Previously, I requested a way to see the concatenated XInclude-glued-together file, and we agree that the Preview function could play that role. However, due to the miscalculation (which might be a new bug - I do not seem to remember that it used to work like that), it is cumbersome to use the Preview function as one must, oneself, manually replace all the URLs with the correct URLs, in order to actually get a good preview. 3. Even if the URLs had been correct (which would have solved previewing problems, of course!), one would still need to correct the URLs to the "real" URLs if one plans to store and reuse the result file.
As it is (with uncorrect URLs being generated), it would be better if the Preview function left the URLs of @src untouched - when I move the concatenated file to the correct folder (my project folder), the URLs will become correct anyway.
Ideally, the preview file would be generated in the working folder - or in a folder inside the working folder. Perhaps users could even be permitted to specify the preview folder. Then it would also be much simpler for XMLmind to get the URLs right.
-- Leif Halvard Silli
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support