* First headline :PROPERTIES: :url: http://orgmode.org/ :END: #+begin_src emacs-lisp (defun retrieve-property-value (headlineitem key) (org-element-map (cons 'org-data (cdr headlineitem)) 'node-property (lambda (x) (and (string= (org-element-property :key x) key) (org-element-property :value x))) nil t 'headline)) (let* ((doc (org-element-parse-buffer)) (firstheadline (org-element-map doc 'headline 'identity nil t))) (retrieve-property-value firstheadline "url")) #+end_src #+RESULTS: : http://orgmode.org/