xsl-list
[Top] [All Lists]

Re: [xsl] Processing business rules using XSLT

2008-02-02 07:06:43
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(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk> 
wrote:
"Peter" == Peter Simard <pasimard(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





-- 
Peter A. Simard
Atlanta, GA
pasimard(_at_)gmail(_dot_)com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>