- From: Alex Muir <alex.g.muir@gmail.com>
- Date: Fri, 1 Jan 2010 18:49:37 +0000
- To: XProc Dev <xproc-dev@w3.org>
Hi, I have a series of XSLT transformation steps within a try catch statement. The process fails at one of the transformations and I want to output within the catch, a file with it's name and a message containing the error that was generated however after reading the xproc specs and searching the dev list I don't see a dynamic error message handling example so was hoping someone could help me out. Currently I'm outputting into my xml output file within the catch: <c:file xmlns:c="http://www.w3.org/ns/xproc-step" name="8x8IncDe_CIK0001023731.html"/> <p:try> <p:group> ... XSLT transformations. </p:group> <p:catch> <p:group name="output"> <p:documentation> Store XML file Output </p:documentation> <p:identity name="out_file"/> <p:store name="store"> <p:with-option name="href" select="concat($exception-folder, $fileName, '.xml')"> <p:pipe step="out_file" port="result"/> </p:with-option> </p:store> <p:documentation> Create result XML </p:documentation> <p:identity> <p:input port="source"> <p:pipe step="store" port="result"/> </p:input> </p:identity> </p:group> </p:catch> </p:try> -- Regards and happy New Year Alex https://sites.google.com/a/utg.edu.gm/alex
Received on Friday, 1 January 2010 18:50:11 UTC