# XMLBean.jsp Sample

This topic inludes the source code for the XMLBean.jsp Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui_databinding/repeater/

## Sample Source Code

`01 <%@ page language="java" contentType="text/html;charset=UTF-8"%> 02 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%> 03 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%> 04 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%> 05 <netui:html> 06 <head> 07 <title> 08 XMLBean.jsp 09 </title> 10 </head> 11 <body> 12 <netui-data:callPageFlow method="getXMLBean" resultId="xmlbean"></netui-data:callPageFlow> 13 <netui-data:repeater dataSource="{pageContext.xmlbean}"> 14 <netui-data:repeaterHeader> 15 <table class="tablebody" border="1"> 16 <tr class="tablehead" valign="top"> 17 <th>ItemNumber</th> 18 <th>ItemName</th> 19 <th>Price</th> 20 <th>QuantityAvailable</th> 21 </tr> 22 </netui-data:repeaterHeader> 23 <netui-data:repeaterItem> 24 <tr valign="top"> 25 <td><netui:label value="{container.item.itemNumber}" defaultValue="&nbsp;"></netui:label></td> 26 <td><netui:label value="{container.item.itemName}" defaultValue="&nbsp;"></netui:label></td> 27 <td><netui:label value="{container.item.price}" defaultValue="&nbsp;"></netui:label></td> 28 <td><netui:label value="{container.item.quantityAvailable}" defaultValue="&nbsp;"></netui:label></td> 29 </tr> 30 </netui-data:repeaterItem> 31 <netui-data:repeaterFooter></table></netui-data:repeaterFooter> 32 </netui-data:repeater> 33 <p><a href="index.jsp">Back to Repeater Samples Home</a> 34 </body> 35 </netui:html>`