[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 12:34:47 -0500
Re:  Processing business rules using XSLT
Hello Michael;

Thank you for your reply. And I apologize for providing too little
detail.  I'm trying to arrive at a solution and XSLT is one option I'm
looking at.  Also as this will be run in BizTalk 2006 I have some
limitations in environment: I can't add third party tools that might
help but I can code my own assembly for referencing in BTS if I need
to.  So right now I'm doing some due diligence as to the 'best' way to
satisfy my client's needs.  Suffice it to say, your expertise and
advice here is greatly appreciated.

Given an XML structure where EDL24 may occur 'n' times:

<EDL20>
   <EDL24>
      <POSNR>
      <MATNR>
      <HIPOS>
      <QUANTITY>
      <WEIGHT>
      <HAZMAT>
      <EXTMATNR>
   </EDL24>
</EDL20>

And a series of business rules like the following and of similar
complexity, do you see an issue with XSLT being able to accommodate?

If HIPOS = NULL & qty = 0 & weight = 0 & HAZMAT != NULL
Then
	remove element
	(Store/retain MATNR for carrying forward)

If POSNER begins with 9 & HIPOS  !=  Null & MATNR = stored MATNR
Then
	include element in outbound XML
Else
	remove element
End If

If POSNER begins with 9 & HIPOS  !=  Null & MATNR = stored MATNR
Then
	include element in outbound XML
End If

Thanks for your time and input!

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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.
Email
First Name
Last Name
Company
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-2007 All Rights Reserved.