Q: When publishing the XML file of an exported InDesign document the load time is unacceptable slow. What is wrong?
A: Nothing is wrong. BUT NEVER publish the XML file on the Internet. BatchXSLT for InDesign exports a publication to XML (which is media-neutral) and also creates a human readable version as an HTML flip book at the same time - both look and act the same in a browser.
Publish this HTML file instead of the XML.
Usually it can be found directly beside the XML file in the 'Export' folder structure.
Some more info: Browsers can not display XML directly as a flipping pages eBook. The exported XML contains a transform XSL to convert it to HTML. This means that the browser has to open the XML file, make the transform and then display the resulting HTML. And exactly this transform is the time consuming task - not the load time of a (200kb) XML file.
Always serve your readers the html flip book!
Thursday, January 07, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment