Subject: Re: [ubl] Code list schema
On Wed, 17 Aug 2005 16:17:44 +0100, <email@example.com> wrote: > If someone could explain to me in words of one syllable how to set > up a batch process to run a Schematron validation (bringing each > document instance manually into an XML editor won't cut it), I'd > feel a lot more confident about this -- and I'd also have in hand > the prototype of what we're going to tell the naive user. It > would only take one readily available and trustworthy open-source > implementation to make this work, but it has to scale up to handle > large numbers of instances. Well, one option is to use the existing tools that convert a Schematron schema into an XSLT stylesheet. You then run the XSLT stylesheet over your instance by invoking your XSLT engine from the command line, or by calling it from within a well-known build framework like Apache Ant. There are also Java, .NET, and Python libraries for validating with Schematron schemas, from what I can see with a quick Web search. Cheers, Tony. -- Anthony B. Coates London Market Systems Limited 33 Throgmorton Street, London, EC2N 2BR, UK http://www.londonmarketsystems.com/ mailto:firstname.lastname@example.org Mobile/Cell: +44 (79) 0543 9026 [MDDL Editor (Market Data Definition Language), http://www.mddl.org/] [FpML Arch WG Member (Financial Products Markup Language), http://www.fpml.org/] ----------------------------------------------------------------------- This Email may contain confidential information and/or copyright material and is intended for the use of the addressee only. Any unauthorised use may be unlawful. If you receive this Email by mistake please advise the sender immediately by using the reply facility in your e-mail software. Email is not a secure method of communication and London Market Systems Limited cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which London Market Systems Limited accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of London Market Systems Limited.