


 <?xml-stylesheet type="text/xsl" href="http://dxp.plands.com/xml-xsl/style/recordset.xsl" ?> 



<doc>
 <recordset>
  <labels>
   <label>User</label><label>Beverage</label><label>Cost</label>
  </labels>
  
   <row>
    <col>Mark</col><col>Beer</col><col>3.50</col>
   </row>
  
   <row>
    <col>Mark</col><col>Latte</col><col>2.50</col>
   </row>
  
   <row>
    <col>Mark</col><col>Water</col><col>0.00</col>
   </row>
  
   <row>
    <col>Nick</col><col>Hippie Soda</col><col>1.50</col>
   </row>
  
   <row>
    <col>Jakob</col><col>Any Cola</col><col>0.50</col>
   </row>
  
   <row>
    <col>Jakob</col><col>Dr. Pepper</col><col>0.50</col>
   </row>
   
 </recordset>
 <info>
  <item>
   The xml data for this page came from recordset.dxp using the same dxp tags you would use
   to send html output. The contentType attribute in the DxpPage (top node) was set to text/xml
   rather than text/html and a stylesheet was specified.
  </item>
  <item>
   If the client browser can do XSL processing the stylesheet is downloaded by the client
   and used to format the xml data for display. Doing this on the server would be expensive 
   because a DOM object must be created for each request and the stylesheet must be applied
   to each DOM to produce the final output for that request.
  </item>
  <item>
   An xml aware browser has to create a DOM object anyway, even for html, so it makes sense
   to apply the stylesheet on the client rather than the server.
  </item>
 </info>
</doc>

