- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Wed, 20 May 2009 12:04:31 +0200
- To: mozer <xmlizer@gmail.com>
- Cc: "Costello, Roger L." <costello@mitre.org>, "xproc-dev@w3.org" <xproc-dev@w3.org>
2009/5/20 mozer wrote: > It looks like you have to build it yourself > Probably with a try/catch > p:try { > p:group { > ... do your atomic stuff ... > p:choose { > p:when ($status = ok) { > ... that's fine ... > } p:otherwise { > ... do rollback ... > } > } > } > p:catch { > ... in case of error do rollback ... > } > } Yes, but the interesting parts are "... do rollback ..." and "... in case of error do rollback ..." ;-) -- Florent Georges http://www.fgeorges.org/
Received on Wednesday, 20 May 2009 10:05:18 UTC