I am working on a project, part of it is to produce a PDF file using Apache FOP, and also produce a plain text output based on the same data as the PDF. Currently I store the data in XMLDOM, which I pass to Apache FOP to produce the PDF, I am looking to also use Apache FOP to produce a Plain Text file using the same XMLDOM input. However, I am not one to work with Apache FOP and cannot find example .xslt to produce a Plain Text file. Does anyone has an example of input .XML data and .xslt to process against said file to produce some kind of Plain Text file?
It's not logic I believe I need here, but XML->xslt->Plain Text output help with.