XSLT 2.0 and unparsed-text()
Two useful new features in XSLT 2.0 are the unparsed-text() function, and regular expression support. In theory, the two together should mean it’d be relatively easy to extended my citation stylesheets to handle, say, RTF or LaTeX. Just suck in the text document as unparsed-text, run a regular expression to extract the citation and transform them into XML, and then all else is the same as working with DocBook or OpenOffice documents.
Note: I have little interest in doing this myself given everything else I have to do, but it could provide a nice opportunity for others.
Creative Commons License