From: Bastien <bzg@gnu.org>
To: stardiviner <numbchild@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: How to use xml src block as data input?
Date: Sun, 29 Apr 2018 17:14:57 +0200 [thread overview]
Message-ID: <87fu3e3uz2.fsf@gnu.org> (raw)
In-Reply-To: <87efk214uq.fsf@gmail.com> (stardiviner's message of "Fri, 30 Mar 2018 13:59:09 +0800")
Hi,
stardiviner <numbchild@gmail.com> writes:
> How can I use this xml data as input in another src block?
You would need to enclose the xml code within #+begin_example instead
of #+begin_src. Also, elfeed-xml-parse-region will not work on a
string, it expects other arguments, so you might need to write your
own parsing function, maybe based on libxml-parse-xml-region if your
version of Emacs has libxml support.
HTH,
--
Bastien
prev parent reply other threads:[~2018-04-29 15:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-30 5:59 How to use xml src block as data input? stardiviner
2018-04-29 14:59 ` stardiviner
2018-04-29 17:30 ` John Kitchin
2018-04-30 3:42 ` stardiviner
2018-04-30 9:47 ` Simonyi András
2018-04-30 13:34 ` John Kitchin
2018-05-01 3:36 ` [SOLVED] " stardiviner
2018-05-01 4:14 ` John Kitchin
2018-05-01 13:10 ` stardiviner
2018-04-29 15:14 ` Bastien [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fu3e3uz2.fsf@gnu.org \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=numbchild@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.