I've got:
(defun org-scdoc-headline (headline contents info)
"Transcode a HEADLINE element from Org to ASCII.
CONTENTS holds the contents of the headline. INFO is a plist
holding contextual information."
;; Don't export footnote section, which will be handled at the end
;; of the template.
(unless (org-element-property :footnote-section-p headline)
(let* ((title (org-element-property :title headline))
(allcaps (upcase title))
... blah blah
It's choking on (upcase...) because 'title' ends up being an element object,
and *not* the value of the :title property.
Why?
http://orgmode.org/worg/dev/org-export-reference.html is not helpful in
answering this question.
hjh