ActiveVOS Designer User’s Guide
The following are example expressions for message, element and complex schema type variables.
Example: $AStatus/e:statusDescription
Selects the statusDescription child node of AStatus element
Example: $StatusVariable.StatusPart2/e:statusDescription
Selects the statusDescription child node of the StatusPart2 part of StatusVariable
Example: $Results/e:AuctionResult[2]/@AuctionID
Selects the AuctionID attribute of the second AuctionResult child node
$itemsShipped + $shipnotice.props/itemsCount
string($input.parameters)
This can be useful when a schema has an xsd:any element in it, such as:
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
The Expression Builder doesn't show the structure in the variable tree view. To use the element, the namespace prefix can be ignored as in this example:
$creditInformation/*[local-name()="previousLoanApplicationAttempts"][1]/*[local-name()="applicationDate"]
Selects the date of the first previous loan application, if information about previous loan applications is supplied as additional content for the creditInformation message.
Copyright (c) 2004-2010 Active Endpoints, Inc.