From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14764 Path: news.gmane.org!not-for-mail From: dharmi patel Newsgroups: gmane.text.pandoc Subject: Re: Converting XML to word Docx Date: Tue, 12 Apr 2016 10:23:18 -0700 (PDT) Message-ID: <216afa2a-9b4a-4e0a-946e-81efdd274b5a@googlegroups.com> 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/mixed; boundary="----=_Part_67_1057754855.1460481799001" X-Trace: ger.gmane.org 1460481802 4559 80.91.229.3 (12 Apr 2016 17:23:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 17:23:22 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCJ7XYPZTUCRBB66WS4AKGQE7B2HSJY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Apr 12 19:23:22 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk0-f60.google.com ([209.85.213.60]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aq224-0007Ii-SL for gtp-pandoc-discuss@m.gmane.org; Tue, 12 Apr 2016 19:23:21 +0200 Original-Received: by mail-vk0-f60.google.com with SMTP id v68sf8101787vka.0 for ; Tue, 12 Apr 2016 10:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=E5oiSKSM4Qlcx/a/2E05r874snNHEsowTqGV2HmYtKo=; b=ePQYo3P5PE8eR6jrdTddsyMrSICgy4hoEDw3zNevb8DVBCWyI0yFa2/YyijZl8+zbL D3DL2a9f8JcXBnSsHSFJQqF3mwmin5pLo87PI1yjoisuT7Wf+8cBvpDfo4WrrKsJb7vT 36D4MdqT8fOim4f/4Jq+BAfxGTKnG3ChKpuohn67NGbbA3u+sfqHTU0y2ZdG46vKBP6g VGlt0gLuS5Cuil3jZeE7FEx9Jh0HmMs8KuDmm85UcF00aJSQGxApV93breo2bmvD1/50 v4gNEvW6rBpQHbRRtnFaF5YYeO0r/ST9VKmuqjD+SJb9o8YqauaFkCJxvE/Kd7NvuvzR rKnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=E5oiSKSM4Qlcx/a/2E05r874snNHEsowTqGV2HmYtKo=; b=yoMJTEhLkzaXJeNz5LyVf2fHSwyQX6mK0nMFVhVhz/pExnO2MgPMwoMmpQ1C1zRRv9 kG2jl0tSIzwsA6Alv6tV5OxrRLYVUuoLZSpJIyoM/GYFBWwc+tiCdzBn8CiUskthSd0d cQwURCpPmgXoMRF1zqP+zllAqrOpmH/drY8u3H3kFjPDLODrpjRVVjc4eRLPNt/b3Sv+ IaUR/cAFZ8w8WGDK8YFX5UTWVOtOI8BOLNjWBvPziPrhDCVktXt1z4m9P5ceHZa1L6WV cdtTIh9uo4xKrZYSQ7xPDKczLfOng/57Wjj6C+iGZqjXpi/w2UzIgYcrBokdqj2Mi77j OszA== 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:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=E5oiSKSM4Qlcx/a/2E05r874snNHEsowTqGV2HmYtKo=; b=f+aHnIHsC8pl3gYB1vXr0s9/T6hrhGBAALelbSqBmoHyR6tjz631OSSMt5viK9U96P JVWKy2hXY12W7LRJyEOiPHzSp3kDuoXn1QUDgUi+nsj39H7Vj/uqnxpCIDkq79v+b4h3 hXos6wSUuWqJmgRdILBjwtAKCGN7tGNMg6NAkzG9FZBabYFleJcz/cZTJqjsEko0GujN NtfhojyZx5Ti9B5uTyzp9EMD6Vwc60WzZAo/19ws6DYTlqScbKOo9c29f8LgNGxDx6ps l1/v0e0xqIez3agcOovdyxCzXaLW0UQBtBRqwauFSCnwwfZXmC90/NdRquGerDSc6Qnk JKKQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOPr4FXG3t8BEPd/aGK1Uee+xsprZGMTeGm9KH5lXL6iIyp/iqmFTeiPHRkkih1h5YCCTA== X-Received: by 10.182.144.226 with SMTP id sp2mr45673obb.13.1460481800169; Tue, 12 Apr 2016 10:23:20 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.182.125.199 with SMTP id ms7ls967386obb.65.gmail; Tue, 12 Apr 2016 10:23:19 -0700 (PDT) X-Received: by 10.182.205.164 with SMTP id lh4mr45761obc.5.1460481799706; Tue, 12 Apr 2016 10:23:19 -0700 (PDT) In-Reply-To: X-Original-Sender: dharmi07it055-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:14764 Archived-At: ------=_Part_67_1057754855.1460481799001 Content-Type: multipart/alternative; boundary="----=_Part_68_1018727063.1460481799002" ------=_Part_68_1018727063.1460481799002 Content-Type: text/plain; charset=UTF-8 @Daniel Staal, thanks for your quick reply. I have figured it out and got to know that I am using robot framework and it generate 3 file log.html, output.xml and report.html. And *I believe that output.xml must be embedded/referred from the html files. so now can you guide me how can i use pandoc to convert this file and please tell me if some other approaches are there.* *Thanks,* *Dharmishtha * On Tuesday, April 12, 2016 at 9:44:59 AM UTC-7, Daniel Staal wrote: > > --As of April 11, 2016 9:58:31 PM -0700, dharmi patel is alleged to have > said: > > > This is very long file and I want to convert this xml file to html > file.. > > what should I do.. Can you or anyone else please help me. Thanks in > > advance > > --As for the rest, it is mine. > > It's hard to help to much directly, as it's hard to know what needs to be > presented as a paragraph, or a table, or in emphasis, etc. from just the > XML. Again, XML is a file format format - saying something is XML says > how > to recognize the markup and what rules the markup will need to follow, but > doesn't say what the markup means in any particular context. > > If that's coming from a specific program, it might be best to see if that > program has an HTML output option. If not, google to see if someone has > created an XSLT for that type of file, and then you can feed your input > file and that XSLT (which describes what parts of the XML file need to be > what types of things in XHTML) into your XSL process of your choice. > (Some > cost thousands of dollars, some are free on the web. They vary widely in > features and interface, and I haven't done enough with them to have > recommendations.) > > If you can't find an XSLT for your type of file... Well, you can either > write one yourself, or get someone to write one for you. It can be > somewhat complex, but isn't especially difficult. Again, there are > programs and courses to help you - both free and non-free - available. > > 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/216afa2a-9b4a-4e0a-946e-81efdd274b5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_68_1018727063.1460481799002 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

@Daniel Staal, thanks for your quick reply. I have figured it out and got= to know that I am using robot framework and it generate 3 file log.html, o= utput.xml and report.html.=C2=A0
And I believe t= hat output.xml must be embedded/referred from the html files. so now can yo= u guide me how can i use pandoc to convert this file and please tell me if = some other approaches are there.

Thanks,
Dharmishtha=C2=A0
On Tuesday, April 12, 2016 at 9:44:59 = AM UTC-7, Daniel Staal wrote:
-= -As of April 11, 2016 9:58:31 PM -0700, dharmi patel is alleged to have=20
said:

> This is very long file and I want to convert this xml file to html= file..
> what should I do.. Can you or anyone else please help me. Thanks i= n
> advance

--As for the rest, it is mine.

It's hard to help to much directly, as it's hard to know what n= eeds to be=20
presented as a paragraph, or a table, or in emphasis, etc. from just th= e=20
XML. =C2=A0Again, XML is a file format format - saying something is XML= says how=20
to recognize the markup and what rules the markup will need to follow, = but=20
doesn't say what the markup means in any particular context.

If that's coming from a specific program, it might be best to see i= f that=20
program has an HTML output option. =C2=A0If not, google to see if someo= ne has=20
created an XSLT for that type of file, and then you can feed your input= =20
file and that XSLT (which describes what parts of the XML file need to = be=20
what types of things in XHTML) into your XSL process of your choice. = =C2=A0(Some=20
cost thousands of dollars, some are free on the web. =C2=A0They vary wi= dely in=20
features and interface, and I haven't done enough with them to have= =20
recommendations.)

If you can't find an XSLT for your type of file... =C2=A0Well, you = can either=20
write one yourself, or get someone to write one for you. =C2=A0It can b= e=20
somewhat complex, but isn't especially difficult. =C2=A0Again, ther= e are=20
programs and courses to help you - both free and non-free - available.

Daniel T. Staal

-------------------------------------------------------------= --
This email copyright the author. =C2=A0Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. =C2=A0This 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 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://groups.google.com/d/= msgid/pandoc-discuss/216afa2a-9b4a-4e0a-946e-81efdd274b5a%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_68_1018727063.1460481799002-- ------=_Part_67_1057754855.1460481799001--