From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14758 Path: news.gmane.org!not-for-mail From: Scot Mcphee Newsgroups: gmane.text.pandoc Subject: Re: Converting XML to word Docx Date: Tue, 12 Apr 2016 12:09:44 +1000 Message-ID: References: <7011f33f-59c4-46b6-91ac-908b26c584ad@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11425ab8a1da8a05304027d8 X-Trace: ger.gmane.org 1460426997 3683 80.91.229.3 (12 Apr 2016 02:09:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 02:09:57 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDTP7RMHTQFRB2FRWG4AKGQERAIR4ZY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Apr 12 04:09:49 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pa0-f56.google.com ([209.85.220.56]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1apnly-0004hO-4x for gtp-pandoc-discuss@m.gmane.org; Tue, 12 Apr 2016 04:09:46 +0200 Original-Received: by mail-pa0-f56.google.com with SMTP id zy2sf937793pac.0 for ; Mon, 11 Apr 2016 19:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:mime-version:in-reply-to:references:date:message-id:subject :from:to: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=dxSDKa12xedNERon+h796r52CDZLZCKfqiNBgEAh15U=; b=k2H1SM9vn6l01Z/TMIqQz9niN41UKwhj5OG7gs4w4QzNGVKbU7+2UDlVng5TZYIMcG JRHj2GhKxfF4z4+H0Swfh51TIfg5k+6t4fnphALsNFUb/REkt1WAN4K8xr26bt5NqfKB 4y94SBeMoZUYiYFBfz9hKs3u1ywyJvJFILlmfcBxY9Vqpj2+eI/lO8kBhV/7q8vB8Ipe RpVLcR6GyX6QW9Icn0ApAEdfcWW7cBYhiRXYnZml+kMMtnr4ZcP4/UKdLW8q4iV+5XiQ 8UlhZ3lkLhypJzx8qsx2KbebvJQCBS7ZlY7P7OYJRBGZ0C+KaSYfuI7Pgy4IZBddW0rU klnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :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=dxSDKa12xedNERon+h796r52CDZLZCKfqiNBgEAh15U=; b=nXDfz8XmHgzyUR+iReB6GRhd58WpxUGrkoDIKr04CKsyXeTsBovEWKPEJ7LqGP8Hnj 2ZChTo0z9mMAxfPwqUrRMxz7L/O0R+e5iscazqnOozb1kpdSx6o6RpRZSPR7nO0DUTMQ DCbaTElUYNOOxNP98gCTFC/wIPggmz4T7mxJGxDrCZuZPgwXZBLOz3dGvt3RafqMPgrD rmdySQ/yXLODsb9T8zeqDpg1ThkSSHYxsL582RvmgP3DxqDTjfSDJkVlB6zie+xOqtE3 qfzGHm9vBf6b22R43IqKA9/cBYrL2yuFwFivPMp75uFawxXUK72wR6Wt6d4RhoBf6f/a 2OiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to: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=dxSDKa12xedNERon+h796r52CDZLZCKfqiNBgEAh15U=; b=RoJQLTy3sSU8pqnvzGb3/8ek7OPuHtThaJi4OIMDZ+djaFtxU+eK6obhjvEoox9mGb NDgBCCCaA9pvKUfK50l/HYOvdp7nTD/F97zpjctDO8MKGmeuxfgzxovpzXuxxXN+/qW/ YP0RhIDUWTZtPYVcmFLlS3kHCT9rgq700O8at5n7yJgO5soSGUZ3S8JnX88UaxLNhbcx 4fZXnPaVDrX90QcrHAr+6h/6JHDVW8irzFtIiQMhlLida7rPjTDybz1NT0J+Sw8K5r3h WyfUrmBDWYZryggP46q1m4PnMtoCuonSChRe8pUvAK/7Ozjw6lQopM9IT6A52mKSIf0T bvNg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOPr4FXPXbsEnAaGHDFI6YCgAx5JFdLUsRRpqVCs+P+7wrdyJ260FI7ai/Ix+AC4i/QVMQ== X-Received: by 10.157.8.3 with SMTP id 3mr2463oty.19.1460426985315; Mon, 11 Apr 2016 19:09:45 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.182.219.170 with SMTP id pp10ls961189obc.67.gmail; Mon, 11 Apr 2016 19:09:44 -0700 (PDT) X-Received: by 10.182.33.42 with SMTP id o10mr424482obi.12.1460426984652; Mon, 11 Apr 2016 19:09:44 -0700 (PDT) Original-Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com. [2607:f8b0:4001:c06::22a]) by gmr-mx.google.com with ESMTPS id y4si982140igw.2.2016.04.11.19.09.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Apr 2016 19:09:44 -0700 (PDT) Received-SPF: pass (google.com: domain of scot.mcphee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22a as permitted sender) client-ip=2607:f8b0:4001:c06::22a; Original-Received: by mail-io0-x22a.google.com with SMTP id o126so10324273iod.0 for ; Mon, 11 Apr 2016 19:09:44 -0700 (PDT) X-Received: by 10.107.170.216 with SMTP id g85mr1123584ioj.58.1460426984509; Mon, 11 Apr 2016 19:09:44 -0700 (PDT) Original-Received: by 10.107.23.195 with HTTP; Mon, 11 Apr 2016 19:09:44 -0700 (PDT) In-Reply-To: <7011f33f-59c4-46b6-91ac-908b26c584ad-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: scot.mcphee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: domain of scot.mcphee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22a as permitted sender) smtp.mailfrom=scot.mcphee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com 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:14758 Archived-At: --001a11425ab8a1da8a05304027d8 Content-Type: text/plain; charset=UTF-8 isn't a "html based xml" already XHTML? *Scot Mcphee. * *Computer programmer. Classics PhD.* p +61 412 957414 e scot.mcphee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org w http://autonomous.org/ On 12 April 2016 at 11:00, dharmi patel wrote: > 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. >> --------------------------------------------------------------- >> > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/7011f33f-59c4-46b6-91ac-908b26c584ad%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAFnRE0Qq0HAdf0iRG%3DTcDD6rC72ZEHELsOobSVdo9b7GF6sKyQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --001a11425ab8a1da8a05304027d8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
isn't a "html ba= sed xml" already XHTML?

Scot Mcphee.=C2=A0
Computer programmer. Classics PhD.
<= span style=3D"color:rgb(61,133,198)">p +61 412 957414


On 12 April 2016 at 11:00, dharmi patel <dharmi07it055-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I am using html based xml file. And for=C2=A0XML-= to-XHTML translators how do I do that.


On Mon= day, April 11, 2016 at 5:47:17 PM UTC-7, Daniel Staal wrote:
--As of April 11, 2016 5:12:55 PM -0700, dharmi pa= tel is alleged to have=20
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 pand= oc? If
> so =C2=A0then can you please tell the right way =C2=A0to covert xm= l to word using
> pandoc =C2=A0command line.

--As for the rest, it is mine.

What type of XML file?=C2=A0 XML is a file format format - it's a w= ay to=20
describe file formats, not a format as such itself.=C2=A0 Pandoc can= 9;t read=20
arbitrary XML files, but it can read a few different XML file types: XH= TML,=20
ODT, EPUB, DOCX, OPML, DocBook. =C2=A0(A few of the other input types m= ight be=20
XML as well.)

If you have an arbitrary XML file, probably easiest will be to use one = of=20
the XML-to-XHTML translators out there, tweaked for your situation, and= =20
then use that as an input to Pandoc.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.=C2=A0 Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.=C2=A0 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.
---------------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https:= //groups.google.com/d/msgid/pandoc-discuss/7011f33f-59c4-46b6-91ac-908b26c5= 84ad%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CAFnRE0Qq0HAdf0iRG%3DTcDD6rC72ZEHELsOob= SVdo9b7GF6sKyQ%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--001a11425ab8a1da8a05304027d8--