W3C home > Mailing lists > Public > xproc-dev@w3.org > January 2010

RE: Optional xsl transformation

From: <Toman_Vojtech@emc.com>
Date: Thu, 7 Jan 2010 04:48:43 -0500
Message-ID: <997C307BEB90984EBE935699389EC41C78EB58@CORPUSMX70C.corp.emc.com>
To: <xproc-dev@w3.org>
With an XPath 2.0 XProc processor, I think you should be able to do
something like:

  <p:when test="doc-available('style.xsl')">

In an XPath 1.0 implementation, you would probably need to resort to
p:load inside p:try to load the stylesheet or to something similar.

Received on Thursday, 7 January 2010 09:49:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:06 UTC