
wrote: Suppose you have an XSLT stylesheet with a bunch of global variables. Suppose that the value of those variables must be determined outside of
Like the XSD standard specification, we do not intend to provide any APIs for DFDL standard.. It is implementation specific.. Suman Kalia IBM Canada Lab WMB Toolkit Architect and Development Lead Tel: 905-413-3923 T/L 313-3923 Email: kalia@ca.ibm.com For info on Message broker http://www.ibm.com/developerworks/websphere/zones/businessintegration/wmb.ht... From: Mike Beckerle <mbeckerle.dfdl@gmail.com> To: "Garriss Jr., James P." <jgarriss@mitre.org>, Cc: "dfdl-wg@ogf.org" <dfdl-wg@ogf.org> Date: 07/17/2013 03:36 PM Subject: Re: [DFDL-WG] Policy Driven DFDL? Sent by: dfdl-wg-bounces@ogf.org DFDL "the standard" says nothing about how to do this today. The way an implementation applies value bindings to external variables is not defined by the standard. Basically, nothing about APIs for driving a DFDL processor is mentioned in the standard. What you suggest is an interesting mechanism especially for when there are many such variables and calling an API function to set them each is burdensome. ...mike On Wed, Jul 17, 2013 at 2:59 PM, Garriss Jr., James P. <jgarriss@mitre.org the XSLT. How do you get the values into it? You might use parameters, and pass in the values when you call the transform() function in your code. But you could also use the document() function from within XSLT, read in an XML “policy” file that has all the values, then store the values in the variables. You might call this approach policy driven XSLT. Can we do policy driven DFDL? Yes, I know that we have parameters, but is there a way to read in a “policy” file (whether XML or not), read the values, then set the variables to those values? TIA -- dfdl-wg mailing list dfdl-wg@ogf.org https://www.ogf.org/mailman/listinfo/dfdl-wg -- Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | www.tresys.com -- dfdl-wg mailing list dfdl-wg@ogf.org https://www.ogf.org/mailman/listinfo/dfdl-wg