aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/XML.hs
diff options
context:
space:
mode:
authorFrerich Raabe <raabe@froglogic.com>2015-09-23 19:31:25 +0200
committerFrerich Raabe <raabe@froglogic.com>2015-09-23 19:31:25 +0200
commitf6538144f0763ae17b60c78810ed52ab96df308d (patch)
tree5da579a0f49b582d07683da89f99a76174807404 /src/Text/Pandoc/XML.hs
parent3564cd82caf81763f83897bdd144c833ffab58ee (diff)
downloadpandoc-f6538144f0763ae17b60c78810ed52ab96df308d.tar.gz
Pass the parsed DocBook content along the state of readDocBook
Having access to the entire document will be needed when handling elements which refer to other elements. This is needed for e.g. <xref> or <link>, both of which reference other elements (by the 'id' attribute) for the label text. I suppose that in practice, the [Content] returned by parseXML always only contains one 'Elem' value -- the document element. However, I'm not totally sure about it, so let's just pass all the Content along.
Diffstat (limited to 'src/Text/Pandoc/XML.hs')
0 files changed, 0 insertions, 0 deletions