From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14756 Path: news.gmane.org!not-for-mail From: Daniel Staal Newsgroups: gmane.text.pandoc Subject: Re: Converting XML to word Docx Date: Mon, 11 Apr 2016 20:47:15 -0400 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed X-Trace: ger.gmane.org 1460422043 30179 80.91.229.3 (12 Apr 2016 00:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 00:47:23 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGYLPE23UARBFELWG4AKGQEA7BCEBI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Apr 12 02:47:19 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ob0-f183.google.com ([209.85.214.183]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1apmU9-0003cp-Qj for gtp-pandoc-discuss@m.gmane.org; Tue, 12 Apr 2016 02:47:18 +0200 Original-Received: by mail-ob0-f183.google.com with SMTP id rf6sf494186obc.0 for ; Mon, 11 Apr 2016 17:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:date:from:to:subject:message-id:in-reply-to:references :mime-version:content-disposition:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=SMADwisXpqNccHn3/mUcFctMkECOuBUXQ5Jl8/aHPhA=; b=LG6z3EPBmP8/mTGonSbjC2BiuP1ISmr27kZoSLhG2rmrqAzkxigLbUpumf6Sf+c5zZ LGP7V3jn3Cx83KKipFQCa0IsceblOQA07EaevDilK49pjIl1CcD3v6W2TA5PWKbRtp0w 88mk0w4a80HL0fK8g8imXZyBN57azp43+e9Bg7ibcG6+f+S7rnMDBs5Px8k8mF0TgjTD lgDe0smG8DPoy3twbE5O2AFSb7BaDh0tm+1+6kpUO76Pedge5qmA+LS6Pey7+wnxwYG8 VzzpzKwRFmV8z/JCZkSnynT1tJkZdOAIQ2pBwNk3FnV/1Jy+LcrTf3DtsQcOef1iPwh2 pxXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:date:from:to:subject:message-id :in-reply-to:references:mime-version:content-disposition :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=SMADwisXpqNccHn3/mUcFctMkECOuBUXQ5Jl8/aHPhA=; b=iKQ2HFVnDUiJe0T1B9xKdZ7UomVt++ktSk4DUdCN7ZiuuENU78feGaZ3OoJRcQYRCS e+knmo/f1VujcfzQk/o+HDgOEu2nyCOXWsm/3NJQ8ageweOYOz8A/9uXlBaAuZi7Sdvd Cy3UD/lO8huWMh1nfZ4RE7rjuiJtgqlkrCKQXnk4zOOYQw0FTf3k1ua6lqgH+oKBGwNu iDgYX4PfcyTBUFtPDGm1mLr0f4HmiUaIMTgVCjg9aUmvnoO6bF16nBVbvs66T/0p+dsk dRjHMKoK3HJ+YvBKiZLWYoaxMdULgtXjILpQ9ozqcA20lzXvcl/CHBNZDGcZJ/xzeGRo oy Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOPr4FUF597xDlHhBvaBvJKa2Mx/w1Nuyj2ms3b4ECiXKSzc60EpvbxPaXIULl3lTpm3pw== X-Received: by 10.140.92.55 with SMTP id a52mr3992qge.10.1460422037019; Mon, 11 Apr 2016 17:47:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.109.70 with SMTP id k64ls3851302qgf.25.gmail; Mon, 11 Apr 2016 17:47:16 -0700 (PDT) X-Received: by 10.140.19.196 with SMTP id 62mr228295qgh.19.1460422036533; Mon, 11 Apr 2016 17:47:16 -0700 (PDT) Original-Received: from mail.magehandbook.com (static-71-191-170-84.washdc.fios.verizon.net. [71.191.170.84]) by gmr-mx.google.com with ESMTP id b69si1617466ywe.5.2016.04.11.17.47.16 for ; Mon, 11 Apr 2016 17:47:16 -0700 (PDT) Received-SPF: neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of DStaal-Jdbf3xiKgS8@public.gmane.org) client-ip=71.191.170.84; Original-Received: from [192.168.1.250] (unknown [192.168.1.250]) by mail.magehandbook.com (Postfix) with ESMTP id 3qkSvF6KJ9z8j for ; Mon, 11 Apr 2016 20:47:21 -0400 (EDT) In-Reply-To: X-Mailer: Mulberry/4.0.8 (Mac OS X) Content-Disposition: inline X-Original-Sender: DStaal-Jdbf3xiKgS8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of DStaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE dis=NONE) header.from=usa.net Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:14756 Archived-At: --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. ---------------------------------------------------------------