Re: How to process Altova XSLT-Word 2007+ with Saxon-EE 10.3 for Java

Jirka Kosek <[email protected]> Thu, 29 Apr 2021 23:31:50 +0200
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
On 27.4.2021 10:04, Michael Kay wrote:
> As for your attempt to produce a .docx file directly from the command line, this isn't something Saxon supports. It's something you can do from a Java application (though I would need to do some thinking to work out exactly how), but not from the command line.

I recall I was doing this more than 10 years ago. But it was necessary 
to have empty or skeleton .docx file.

Then xsl:result-document could be used to create and populate individual 
files inside the archive (.docx) file:

<xsl:result-document href="zip:.../document.docx!/word/document.xml">

-- 
------------------------------------------------------------------
   Jirka Kosek      e-mail: [email protected]      http://xmlguru.cz
------------------------------------------------------------------
      Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
     Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help
OpenPGP_signature (application/pgp-signature, 203 B) - not displayed