I am using html based xml file. And for XML-to-XHTML translators how do I do that.
On Monday, April 11, 2016 at 5:47:17 PM UTC-7, Daniel Staal wrote:
--As of April 11, 2016 5:12:55 PM -0700, dharmi patel is alleged to have
said:
> I am trying to converting xml file to word doc file using pandoc. Can any
> one tell me, is it possible to convert xml to word docx using pandoc? If
> so then can you please tell the right way to covert xml to word using
> pandoc command line.
--As for the rest, it is mine.
What type of XML file? XML is a file format format - it's a way to
describe file formats, not a format as such itself. Pandoc can't read
arbitrary XML files, but it can read a few different XML file types: XHTML,
ODT, EPUB, DOCX, OPML, DocBook. (A few of the other input types might be
XML as well.)
If you have an arbitrary XML file, probably easiest will be to use one of
the XML-to-XHTML translators out there, tweaked for your situation, and
then use that as an input to Pandoc.
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------