Re: Processing business rules using XSLT
Hello Preston; The most complex rules I have to process involves carrying forward a value so as to populate orders in the batch with it. Imagine the first row of the batch (purchase orders) has a material number in one of the fields whereas the actual orders don't contain that value, so I have to manage to not send the header record (i.e. don't include it in result XML) but make sure to populate a field with the material number in the individual purchase order nodes. The other of the complex rules involves checking a combination of values in sequential elements to determine the nature of the elements which follow. FYI: This is for implementation in the mapper in BizTalk 2006. We're receiving SAP Idocs in XML format and we need to modify the structure of the XML we forward to another system to conform to it's requirements. On 2/2/08, Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> wrote: > >>>>> "Peter" == Peter Simard <pasimard@xxxxxxxxx> writes: > > Peter> Good day; I have a requirement to modify an XML document > Peter> based on certain business rules for the purposes of > Peter> processing batch orders. I need to inspect several > Peter> elements and take action(s) based on whether an element or > Peter> elements (or possibly an element's child or parent) meets > Peter> certain conditions. My question is: can I define all the > Peter> business rules in templates and process the XML document > Peter> once or is it possible I could need to run multiple > Peter> transformations against the XML? > > My guess would be one transformation - but I dare say it deoends upon > how complex your business rules are. > -- > Colin Adams > Preston Lancashire > > -- Peter A. Simard Atlanta, GA pasimard@xxxxxxxxx
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format