Plands.com Logo  Business Internet Services 
Main Menu
Home
Planetary CRM
  Benefits
  Features
  Demo
E-Mail Services
  E-mail Hosting
  Newsletters
  Discussion Lists
Web Hosting
Server Co-location
and Administration
Web Applications
Technical Support
Contact Us
DXP Samples
 
DxpHome  ||   Samples  ||   Details  ||   Docs  ||   Trees  ||   xml-xsl  ||   Links

Source for xrecordset.dxp

<?xml version="1.0"?> <!-- notice that contentType is text/xml --> <dxp:DxpPage xmlns:dxp="dxp.plands.com" contentType="text/xml" buffsize="4096" debug="false"> <!-- specify stylesheet for client. CDATA tells our server parser to ignore it --> <![CDATA[ <?xml-stylesheet type="text/xsl" href="http://dxp.plands.com/sample-xml/style/recordset.xsl" ?> ]]> <dxp:DbStmtX action="query" dbcon="datauser" store="result"> <dxp:Cp name="sql">Select username, beverage, cost from userpref</dxp:Cp> </dxp:DbStmtX> <doc> <recordset> <labels> <label>User</label><label>Beverage</label><label>Cost</label> </labels> <dxp:LoopSetX matrix="result" rowtag="row" /> </recordset> <info> <item> The xml data from this page came from xrecordset.dxp and was generated by tags that are designed to store and output XML data. </item> <item> This page uses the same stylesheet as recordset.dxp. Even though the records have different col names they are still formatted in the same manner. </item> </info> </doc> </dxp:DxpPage>