[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Processing business rules using XSLT

Subject: Re: Processing business rules using XSLT
From: "Peter Simard" <pasimard@xxxxxxxxx>
Date: Sat, 2 Feb 2008 08:06:14 -0600
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.

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

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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.