Table of Contents
Somewhere in 2010 I had a project where DocBook XML documents needed to be enriched with data coming from various, non-XML sources. The idea was to have scripting insert DocBook elements into a DocBook template. There were two options, first write a program to convert non-XML data into DocBook XML elements and second write a more generic program to insert DocBook XML elements into the original source. XPT (xml-xpt) does this. It replaces XML processing instructions with target xpt in an XML input file.
This way a library can be setup with (user-) predefined functions.
This document is also available in Acrobat pdf format at http://xml-xpt.sourceforge.net/docu/xpt.pdf.