GetValue

Description

This JSP function gets the value of the binding string provided from the XML namespace provided.

Syntax

String getValue(String xmlName,String binding)

Input parameters

xmlName - Required. Namespace of the XML. Even if the binding string contains the namespace, this must be provided.

binding - Required. Binding string.

Example

This example explains how the supply type is extracted from the output of the API in the Inventory Adjustment screen.

<%
   String 
supplyType=getValue("Item","xml:/Item/Supplies/InventorySupply/@SupplyType"); 
%>