Skip to content

XAware Community

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
XAware 5.6
Need Help
Webinars and Events
Advanced Tutorials
Webinars and Events

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:not able to understand xa:map_match (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 1
TOPIC: Re:not able to understand xa:map_match
#5987
prichards (Admin)
Admin
Posts: 319
User Offline Click here to see the profile of this user
Re:not able to understand xa:map_match 9 Years, 3 Months ago Karma: 18  
The xa:map/xa:map_match instruction was originally designed for the XML Mapper BizComp (and subsequently the Multiformat BizComp) as a way to iterate through repeating XML structures and map results to the response. You can review the Designer Help to see how xa:map and xa:map_match are used in the BizComponent. (You will also find the xa:copy instruction in the documentation as well.)

Although not documented as such, it has also been used as a BizDoc instruction to iterate through repeating structures, used in the same manner as in the BizComp, although there may be some limitations using this instruction in a BizDoc.

The xa-input:: and xa-results:: references are XAware Axes, which are documented in the Designer Help -> Basic XAware Know How -> Path Expressions in Designer; you should review this section and the subsection, Understanding XPath and XAware Axes.

In short, your first map match example matches all of the SUBMITTINGHEADER elements in the path expression from the InputXML passed into the BizComponent. Your second example matches all of the CONTRAHEADER elements from an intermediate processing result, most likely from another map match in order to process a nested repeating structure.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
not able to understand xa:map_match
swapnilsurade 2010/06/18 04:44
    thread link
thread linkthread link Re:not able to understand xa:map_match
prichards 2010/07/06 11:29
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
Commercial
Free Training
QuickStart Packages
Image 4 Title
Image 5 Title

Visit XAware.com