I\'m trying to convert an XML file into a flat, pipe-delimited file with XSLT (for bulk-loading into Postgres). I would like the last column in my output to be the actual X
I am not sure if this is a recommended solution, but you could try setting the output method to xml, and then just using the xsl:copy-of function.
So, the following XSLT
|
|
When applied to your sample XML, generates the following output
Python Does Everythig|Smith|Python Does Everythig Smith
Postgres is Neat|Wesson|Postgres is Neat Wesson