On 09/04/2015 11:22 AM, Leif Halvard Silli (russisk.no) wrote:
Let me me add that the ability to concatenate a compound doc into a
single file, could also be useful "add on" for the Preview
functionality. As of now, if you preview a compound document in your Web
browser, you only get to see the main document, without the sub
documents.
You are in fact describing a bug. Menu item XHTML|Preview should really
transclude XIncludes before invoking the Web browser to preview the file.
On 4 Sep 2015, at 10:51, Leif Halvard Silli (russisk.no) wrote:
Because XXE now allows us to use a XHTML document as the main
document of a compound document, it would be handy if it was
possible to export the compound document as a single document. For
instance, if the compound document consists of 3 pieces, like so:
* XHTML main document 0
o sub document 1
o sub document 2
Then you may want to "export" these 3 documents as a single
document, without sub documents. As I understand it, the DocBook
conversion tool can already do this - it allows you to take a
compound Docbook and convert it to a single (X)HTML document.
So perhaps this is allready possible for compound (X)HTML documents,
as well?
No. You are describing two very different things:
* "DocBook --> Single page (X)HTML" is a document format conversion.
* "(X)HTML file containing XIncludes --> Flat (X)HTML file containing
transcluded content" is simply a save option. Unfortunately, this save
option, which exists in our Java API, is not available in the
Options|Preferences dialog box.
We'll try to fix the bug described above for the next release.
If you need to export the compound document as a single document, you'll
have to invoke XHTML|Preview and then use the "File|Save Page As" menu
item of your Web browser.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support