- From: GOOCH, Phil <phil.gooch@oup.com>
- Date: Tue, 8 Apr 2014 13:14:42 +0100
- To: "xproc-dev@w3.org" <xproc-dev@w3.org>
- Message-ID: <04E229667EEBCF4E9A075810ECA4665F3D32BC998B@UKMB02.uk.oup.com>
Hi all I am trying to set the value of a 'let' variable in Schematron via XProc without success. Can anyone provide any hints? My Schematron has the following defined at the top: <let name="basedir" value="'/'" /> <let name="mappings" value="document(concat($basedir, 'xsl/mappings/controlled-vocab.xml'))" /> And I am trying to set the value of the basedir variable via the XProc task: <p:validate-with-schematron assert-valid="false" name="intermediate-validation" phase="intermediate"> <p:log port="report"/> <p:input port="schema"> <p:document href="schematron.sch"/> </p:input> <p:with-param name="basedir" select="'foo/bar'"/> </p:validate-with-schematron> But this fails to set the value, and basedir remains at its default value. Is there a way to set Schematron variables via XProc? Many thanks Phil Phil Gooch Senior Language Technologist Language Technology Group Global Academic Business, Dictionaries Oxford University Press | Great Clarendon Street | Oxford OX2 6DP E: phil.gooch@oup.com T: +44 (0)1865 354987 M: +44 (0)7876 881998 Oxford University Press (UK) Disclaimer This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information for the intended purpose only. OUP does not accept legal responsibility for the contents of this message. Any views or opinions presented are those of the author only and not of OUP. If this email has come to you in error, please delete it, along with any attachments. Please note that OUP may intercept incoming and outgoing email communications.
Received on Tuesday, 8 April 2014 12:15:35 UTC