XML Server Getting Started    
   
XMLControl Data Layout 
This section is dedicated to the data model of  XMLControl. Understanding that data model is very important in usage of 
XMLControl API, since certain methods like 
setFilter() and findRows()  
assume that search and filter criteria are submitted 
as XPath expressions against the underlying XML data. In addition, understanding of the data layout required by 
XLMControl is crucially important for those developers who are interested in building proprietary business objects on the 
Application Server side. 
XMLControl retrieves, renders and manipulates data in a specific XML format.  As an example, let's again consider 
 customerList  XMLControl in the familiar page: 
 
 
 
  
inset;width:800px;"/> 
 
 
  
  
The 
onLoad
 event on this window starts population of the  customers  control by XML data. By default, this is an 
asynchronous action, since default value of the 
async
 attribute of  element is 
true
. At any rate, by the time 
retrieval is finished, the following looking XML has been loaded into a browser:  
 
     xmlns:x= x schema:/xmlsp/metadata/xsp_schema.xml   
     xmlns:dt= urn:schemas microsoft com:datatypes > 
     
          
 
                    
 
      
2002 04 04 
         
  
          
 
  
101 
      
Rutherford 
      
SC 
      
07070 
      
2015558966 
     
The Power Group 
     
3114 Pioneer Avenue 
      
Devlin111 
      
Michaels 
 2000 2002 Computer Technology Inc. All rights reserved. 
Page 37 




J2EE Web Hosting Tundra XML Server Pages J2EE Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.