商务参考体系结构B2C-附录 A

商务参考体系结构:企业对消费者

附录 A:ConsolidatedRetail.com 站点的 XML 输出

Microsoft Corporation
2001年5月

摘要:本附录包含参考应用程序、ConsolidatedRetail.com 和 ConsolidatedRetail.com PASP 文件的 XML 输出。PASP 文件及其相应的 XML 输出按字母顺序排列。

Acct.pasp

以下 XML 是已验证用户访问 Acct.pasp 时所生成输出的示例。

<?xml-stylesheet type="text/xsl" server-config="Acct-Config.xml" 
                 href="Acct-IE5.xsl"?>
<page pagename="Acct.pasp">
  <pagemode/>
  <profilemenu/>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

Addressbook.pasp

以下 XML 是已验证用户访问 AddressBook.pasp 时所生成输出的示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="AddressBook-Config.xml"
                 href="AddressBook-IE5.xsl"?xml-stylesheet type="text/xsl" 
                 server-config="AddressBook-Config.xml"
                 href="AddressBook-IE5.xsl"?>
<page pagename="AddressBook.pasp">
  <profilemenu/>
  <addresses>
    <address>
      <address_id>{75C86243-63F2-4B13-A260-2F7BA25E954C}</address_id>
      <address_type>1</address_type>
      <address_name>Kim Abercrombie</address_name>
      <description>住宅</description>
      <address_line1>我的家</address_line1>
      <address_line2/>
      <city>Redmond</city>
      <region_name>Washington</region_name>
      <postal_code>12345</postal_code>
    </address>
  </addresses>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

Basket.pasp:Basket.pasp

以下 XML 是已验证用户访问 Basket.pasp,并且其购物篮中有物品时所生成输出的示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderSummary-Config.xml" 
                 href="OrderSummary-IE5.xsl"?xml-stylesheet type="text/xsl" 

server-config="Basket-Config.xml" href="Basket-IE5.xsl"?> <page pagename="Basket.pasp"> <advertising/> <totallineitems>1</totallineitems> <orderform orderform_id="{500B4B28-466B-4249-803E-B35A7F4490B1}" saved_cy_oadjust_subtotal="74.95"> <Items quantity="1" product_id="651" product_catalog="硬件" product_category="" description="即将推出" d_DateCreated="21/02/2001 15:33:31" cy_lineitem_total="74.95" cy_unit_price="74.95" lineitem_uid="{3F2B9804-42AE-4EE4-827C-360F9A177CB9}" _product_Name="Microsoft&#174 SideWinder&#174 Freestyle Pro" _cy_oadjust_adjustedprice="74.95"/> </orderform> <getcatalogsforuser> <selectiontitle>浏览目录:</selectiontitle> <catalog> <catalogname>书籍</catalogname> </catalog> <catalog> <catalogname>硬件</catalogname> </catalog> </getcatalogsforuser> <profile auth="auth"/> <exceptions></exceptions> </page>

Category.pasp

以下 XML 是 Category.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderSummary-Config.xml" 
                 href="OrderSummary-IE5.xsl"?xml-stylesheet type="text/xsl" 

server-config="Category-Config.xml" href="Category-IE5.xsl"?> <page pagename="Category.pasp"> <searchscope>hardware</searchscope> <getcatalogattributes> <catalogname>硬件</catalogname> <startdate>10/2/2000</startdate> <enddate>10/2/2000</enddate> <variantid>SKU</variantid> <productid>prodid</productid> <currency>USD</currency> <weightmeasure>lbs</weightmeasure> <catalogid>2</catalogid> <customcatalog>False</customcatalog> <freetextindexcreated>2/20/2001 3:35:44 PM</freetextindexcreated> <producttableupdated>2/20/2001 3:34:52 PM</producttableupdated> </getcatalogattributes> <rootcategories> <rootcategory> <catalogname>硬件</catalogname> <categoryname>特色产品</categoryname> </rootcategory> <rootcategory> <catalogname>硬件</catalogname> <categoryname>游戏设备</categoryname> </rootcategory> <rootcategory> <catalogname>硬件</catalogname> <categoryname>键盘</categoryname> </rootcategory> <rootcategory> <catalogname>硬件</catalogname> <categoryname>鼠标</categoryname> </rootcategory> <selectiontitle>浏览类别:</selectiontitle> </rootcategories> <rootproducts> <selectiontitle> 在硬件类别的根级别中未找到产品。 </selectiontitle> </rootproducts> <getcatalogsforuser> <selectiontitle>浏览目录:</selectiontitle> <catalog> <catalogname>书籍</catalogname> </catalog> <catalog> <catalogname>硬件</catalogname> </catalog> </getcatalogsforuser> <profile auth="auth"/> <exceptions></exceptions> </page>

ChangePasswd.pasp

以下 XML 是 ChangePasswd.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderSummary-Config.xml" 
                 href="OrderSummary-IE5.xsl"?xml-stylesheet type="text/xsl" 
                 server-config="ChangePasswd-Config.xml" 
                 href="ChangePasswd-IE5.xsl"?>
<page pagename="ChangePasswd.pasp">
  <profilemenu/>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

EditAddressBook.pasp

以下 XML 是在未指定地址参数时,EditAddressBook.pasp 所生成输出的示例:

<?xml-stylesheet type="text/xsl" 
                 server-config="EditAddressBook-Config.xml" 
                 href="EditAddressBook-IE5.xsl"?>
<page pagename="EditAddressBook.pasp">
  <addresstype></addresstype>
  <pagemode/>
  <profilemenu/>
  <code_table>
    <region_name>Alabama</region_name>
    <region_name>Alaska</region_name>
    <region_name>Arizona</region_name>
    <region_name>Arkansas</region_name>
    <region_name>California</region_name>
    <region_name>Colorado</region_name>
    <region_name>Connecticut</region_name>
    <region_name>Delaware</region_name>
    <region_name>District of Columbia</region_name>
    <region_name>Florida</region_name>
    <region_name>Georgia</region_name>
    <region_name>Hawaii</region_name>
    <region_name>Idaho</region_name>
    <region_name>Illinois</region_name>
    <region_name>Indiana</region_name>
    <region_name>Iowa</region_name>
    <region_name>Kansas</region_name>
    <region_name>Kentucky</region_name>
    <region_name>Louisiana</region_name>
    <region_name>Maine</region_name>
    <region_name>Maryland</region_name>
    <region_name>Massachusetts</region_name>
    <region_name>Michigan</region_name>
    <region_name>Minnesota</region_name>
    <region_name>Mississippi</region_name>
    <region_name>Missouri</region_name>
    <region_name>Montana</region_name>
    <region_name>Nebraska</region_name>
    <region_name>Nevada</region_name>
    <region_name>New Hampshire</region_name>
    <region_name>New Jersey</region_name>
    <region_name>New Mexico</region_name>
    <region_name>New York</region_name>
    <region_name>North Carolina</region_name>
    <region_name>North Dakota</region_name>
    <region_name>Ohio</region_name>
    <region_name>Oklahoma</region_name>
    <region_name>Oregon</region_name>
    <region_name>Pennsylvania</region_name>
    <region_name>Rhode Island</region_name>
    <region_name>South Carolina</region_name>
    <region_name>South Dakota</region_name>
    <region_name>Tennessee</region_name>
    <region_name>Texas</region_name>
    <region_name>Utah</region_name>
    <region_name>Vermont</region_name>
    <region_name>Virginia</region_name>
    <region_name>Washington</region_name>
    <region_name>West Virginia</region_name>
    <region_name>Wisconsin</region_name>
    <region_name>Wyoming</region_name>
  </code_table>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

以下 XML 是在指定了地址参数时,EditAddressBook.pasp 所生成输出的示例:

<?xml-stylesheet type="text/xsl" 
                 server-config="EditAddressBook-Config.xml" 
                 href="EditAddressBook-IE5.xsl"?>
<page pagename="EditAddressBook.pasp">
  <addresstype>运送</addresstype>
  <pagemode/>
  <profilemenu/>
  <address>
    <generalinfo>
      <address_id>{75C86243-63F2-4B13-A260-2F7BA25E954C}</address_id>
      <id>{31317332-6951-4460-9C14-0114341CC33B}</id>
      <last_name/>
      <first_name/>
      <address_name>Kim Abercrombie</address_name>
      <address_type>1</address_type>
      <description>住宅</description>
      <address_line1>我的家</address_line1>
      <address_line2/>
      <city>Redmond</city>
      <region_code>WA</region_code>
      <region_name>Washington</region_name>
      <postal_code>12345</postal_code>
      <country_code/>
      <country_name/>
      <tel_number>019182782</tel_number>
      <tel_extension/>
      <locale/>
      <user_id_changed_by/>
    </generalinfo>
    <profilesystem>
      <date_last_changed>2/21/2001 11:26:05 AM</date_last_changed>
      <date_created>2/21/2001 11:26:05 AM</date_created>
    </profilesystem>
  </address>
  <code_table>
    <region_name>Alabama</region_name>
    <region_name>Alaska</region_name>
    <region_name>Arizona</region_name>
    <region_name>Arkansas</region_name>
    <region_name>California</region_name>
    <region_name>Colorado</region_name>
    <region_name>Connecticut</region_name>
    <region_name>Delaware</region_name>
    <region_name>District of Columbia</region_name>
    <region_name>Florida</region_name>
    <region_name>Georgia</region_name>
    <region_name>Hawaii</region_name>
    <region_name>Idaho</region_name>
    <region_name>Illinois</region_name>
    <region_name>Indiana</region_name>
    <region_name>Iowa</region_name>
    <region_name>Kansas</region_name>
    <region_name>Kentucky</region_name>
    <region_name>Louisiana</region_name>
    <region_name>Maine</region_name>
    <region_name>Maryland</region_name>
    <region_name>Massachusetts</region_name>
    <region_name>Michigan</region_name>
    <region_name>Minnesota</region_name>
    <region_name>Mississippi</region_name>
    <region_name>Missouri</region_name>
    <region_name>Montana</region_name>
    <region_name>Nebraska</region_name>
    <region_name>Nevada</region_name>
    <region_name>New Hampshire</region_name>
    <region_name>New Jersey</region_name>
    <region_name>New Mexico</region_name>
    <region_name>New York</region_name>
    <region_name>North Carolina</region_name>
    <region_name>North Dakota</region_name>
    <region_name>Ohio</region_name>
    <region_name>Oklahoma</region_name>
    <region_name>Oregon</region_name>
    <region_name>Pennsylvania</region_name>
    <region_name>Rhode Island</region_name>
    <region_name>South Carolina</region_name>
    <region_name>South Dakota</region_name>
    <region_name>Tennessee</region_name>
    <region_name>Texas</region_name>
    <region_name>Utah</region_name>
    <region_name>Vermont</region_name>
    <region_name>Virginia</region_name>
    <region_name>Washington</region_name>
    <region_name>West Virginia</region_name>
    <region_name>Wisconsin</region_name>
    <region_name>Wyoming</region_name></code_table>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

ForgotPasswd.pasp

以下 XML 是 ForgotPasswd.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="ForgotPasswd-Config.xml" 
                 href="ForgotPasswd-IE5.xsl"?>
<page pagename="ForgotPasswd.pasp">
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

Index.pasp

以下 XML 是 Index.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" server-config="Index-Config.xml" 
                 href="Index-IE5.xsl"?>
<page pagename="Index.pasp">
  <advertising/>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

Login.pasp

以下 XML 是 Login.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" server-config="Login-Config.xml" 
                 href="Login-IE5.xsl"?>
<page pagename="Login.pasp">
  <advertising/>
  <pagemode/>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile/>
  <exceptions></exceptions>
</page>

MultiShipping.pasp

以下 XML 是 MultiShipping.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="MultiShipping-Config.xml"
                 href="MultiShipping-IE5.xsl"?>
<page pagename="MultiShipping.pasp">
  <pagemode>MultiShipping.pasp</pagemode>
  <addresses>
    <address>
      <address_id>{75C86243-63F2-4B13-A260-2F7BA25E954C}</address_id>
      <address_name>Kim Abercrombie</address_name>
      <address_line1>我的家</address_line1>
      <address_line2/>
      <city>Redmond</city>
      <region_code>Washington</region_code>
      <region_name>Washington</region_name>
      <postal_code>12345</postal_code>
    </address>
    <address>
      <address_id>{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}</address_id>
      <address_name>Kim Abercrombie</address_name>
      <address_line1>1 Microsoft Way</address_line1>
      <address_line2/>
      <city>Redmond</city>
      <region_code>Washington</region_code>
      <region_name>Washington</region_name>
      <postal_code>12345</postal_code>
    </address>
  </addresses>
  <orderform orderform_id="{500B4B28-466B-4249-803E-B35A7F4490B1}"
             saved_cy_oadjust_subtotal="74.95">
    <Addresses address_name="Kim Abercrombie" address_line1="我的家"
         city="Redmond" region_code="WA" postal_code="12345"
         country_code="US" description="Home" 
         AddressesDictKey="{75C86243-63F2-4B13-A260-2F7BA25E954C}"/>
    <Addresses address_name="Kim Abercrombie" 
         address_line1="1 Microsoft Way" city="Redmond"
         region_code="WA" postal_code="12345" country_code="US"
         description="办公室" 
         AddressesDictKey="{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}"/>
    <Items quantity="1" product_id="651" product_catalog="硬件" 
           product_category="" description="即将推出" 
           d_DateCreated="21/02/2001 15:33:31" 
           cy_lineitem_total="74.95" cy_unit_price="74.95" 
           lineitem_uid="{3F2B9804-42AE-4EE4-827C-360F9A177CB9}" 
           orig_lineitem_uid="{3F2B9804-42AE-4EE4-827C-360F9A177CB9}" 
           _product_Name="Microsoft&#174 SideWinder&#174 Freestyle Pro" 
           _cy_oadjust_adjustedprice="74.95"/>
  </orderform>
  <code_table>
    <shipping_method>
      <shipping_method_id>
        {00000000-0000-0000-0000-003380005417}
      </shipping_method_id>
      <shipping_method_name>快递</shipping_method_name>
    </shipping_method>
    <shipping_method>
      <shipping_method_id>
        {00000000-0000-0000-0000-001861008604}
      </shipping_method_id>
      <shipping_method_name>标准</shipping_method_name>
    </shipping_method>
  </code_table>
  <getcatalogsforuser>
  <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

OrderHistory.pasp

以下 XML 是 OrderHistory.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderHistory-Config.xml" 
                 href="OrderHistory-IE5.xsl"?>
<page pagename="OrderHistory.pasp">
  <profilemenu/>
  <history>
    <order>
      <item>
        <ordergroup_id>
          {45CA0421-9DFD-481B-B60E-C2ECDE28E5DF}
        </ordergroup_id>
        <order_number>1001</order_number>
        <saved_cy_total_total>26.99</saved_cy_total_total>
        <d_datelastchanged>2/21/2001 3:14:59 PM</d_datelastchanged>
      </item>
    </order>
    <order>
      <item>
        <ordergroup_id>
          {0FA626B0-852E-4707-93D5-A00619C6A35B}
        </ordergroup_id>
        <order_number>1000</order_number>
        <saved_cy_total_total>48.98</saved_cy_total_total>
        <d_datelastchanged>2/21/2001 1:59:37 PM</d_datelastchanged>
      </item>
    </order>
  </history>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

OrderHistoryDetail.pasp

以下 XML 是 OrderHistoryDetail.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderHistoryDetail-Config.xml" 
                 href="OrderHistoryDetail-IE5.xsl"?>
<page pagename="OrderHistoryDetail.pasp">
  <orderform orderform_id="{AF2DDB69-5694-49B3-AB4A-AB95F77FB4DB}" 
          payment_method="credit_card"  
          billing_address_id="{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}" 
          saved_cy_oadjust_subtotal="39.98" 
          saved_cy_total_total="48.98" cc_name="Visa" 
          cc_expyear="2002" cc_expmonth="01" 
          cc_number="1234567890123" 
          user_email_address="kim@somecompany.com" 
          cc_Account_Holder="Kim Abercrombie" cy_tax_total="4"  
          cy_shipping_total="5">
    <Addresses address_name="Kim Abercrombie" address_line1="我的家" 
          city="Redmond" region_code="WA" postal_code="12345" 
          country_code="US" description="住宅" 
          AddressesDictKey="{75C86243-63F2-4B13-A260-2F7BA25E954C}"/>
    <Addresses address_name="Kim Abercrombie" 
          address_line1="1 Microsoft Way" city="Redmond"
          region_code="WA" postal_code="12345" country_code="US"
          description="办公室" 
          AddressesDictKey="{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}"/>
    <Items quantity="2" product_id="Microsoft Age of Empires II: 

The Age of Kings: Inside Moves" product_Name="Microsoft Age of Empires II:
The Age of Kings: Inside Moves" product_catalog="书籍" product_category=""
description="使用此指南,可以掌握所有致胜策略、技巧和诀窍,进入新版的
Microsoft Age of Empires! MICROSOFT AGE OF EMPIRES II: AGE OF KINGS:
INSIDE MOVES 告诉您如何在游戏中立于不败之地。" shipping_address_id="{75C86243-63F2-4B13-A260-2F7BA25E954C}" shipping_method_id="{00000000-0000-0000-0000-003380005417}" shipping_method_name="快递" d_DateCreated="21/02/2001 12:14:53" cy_lineitem_total="39.98" cy_unit_price="19.99" lineitem_uid="{0F79FBF7-AA37-4C37-84CD-B0BDDCD971DD}"/> <shipments shipping_address_id="{75C86243-63F2-4B13-A260-2F7BA25E954C}" shipping_method_id="{00000000-0000-0000-0000-003380005417}"/> </orderform> <profilemenu/> <getcatalogsforuser> <selectiontitle>浏览目录:</selectiontitle> <catalog> <catalogname>书籍</catalogname> </catalog> <catalog> <catalogname>硬件</catalogname> </catalog> </getcatalogsforuser> <profile auth="auth"/> <exceptions></exceptions> </page>

OrderSummary.pasp

以下 XML 是 OrderSummary.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderSummary-Config.xml" 
                 href="OrderSummary-IE5.xsl"?>
<page pagename="OrderSummary.pasp">
  <orderform orderform_id="{500B4B28-466B-4249-803E-B35A7F4490B1}"   
        payment_method="credit_card" 
        billing_address_id="{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}" 
        saved_cy_oadjust_subtotal="74.95" 
        saved_cy_total_total="87.45" cc_name="American Express" 
        cc_expyear="2002" cc_expmonth="01" cc_number="123456789" 
        _cy_shipping_total="5" _cy_tax_total="7.5" 
        user_email_address="kim@somecompany.com" 
        cc_Account_Holder="Kim Abercrombie" cy_tax_total="7.5" 
        cy_shipping_total="5">
    <Addresses address_name="Kim Abercrombie" address_line1="我的家" 
          city="Redmond" region_code="WA" postal_code="12345" 
          country_code="US" description="住宅"   
          AddressesDictKey="{75C86243-63F2-4B13-A260-2F7BA25E954C}"/>
     <Addresses address_name="Kim Abercrombie" 
          address_line1="1 Microsoft Way" city="Redmond" 
          region_code="WA" postal_code="12345" country_code="US" 
          description="办公室" 
          AddressesDictKey="{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}"/>
      <Items quantity="1" product_id="651" 
          product_Name="Microsoft&#174 SideWinder&#174 Freestyle Pro" 
          product_catalog="Hardware" product_category="" 
          description="即将推出" 
          shipping_address_id="{75C86243-63F2-4B13-A260-2F7BA25E954C}" 
          shipping_method_id="{00000000-0000-0000-0000-003380005417}" 
          shipping_method_name="快递" 
          d_DateCreated="21/02/2001 15:33:31" 
          cy_lineitem_total="74.95" cy_unit_price="74.95" 
          lineitem_uid="{3F2B9804-42AE-4EE4-827C-360F9A177CB9}"     
          _product_Name="Microsoft&#174 SideWinder&#174 Freestyle Pro" 
          _cy_oadjust_adjustedprice="74.95"/><shipments 
          shipping_address_id="{75C86243-63F2-4B13-A260-2F7BA25E954C}" 
          shipping_method_id="{00000000-0000-0000-0000-003380005417}" 
          _cy_shipping_total="5"/>
  </orderform>
  <shipping_methods>
    <shipping_method>
      <shipping_method_id>
        {00000000-0000-0000-0000-003380005417}
      </shipping_method_id>
      <shipping_method_name>快递</shipping_method_name>
    </shipping_method>
    <shipping_method>
      <shipping_method_id>
        {00000000-0000-0000-0000-001861008604}
      </shipping_method_id>
      <shipping_method_name>标准</shipping_method_name>
    </shipping_method>
  </shipping_methods>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

Payment.pasp

以下 XML 是 Payment.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" server-config="Payment-Config.xml" 
                 href="Payment-IE5.xsl"?>
<page pagename="Payment.pasp">
  <advertising/>
  <billingaddressstatus>
    {C062AAA0-D54B-480D-ACE8-EB73662DA1F5}
  </billingaddressstatus>
  <orderform orderform_id="{500B4B28-466B-4249-803E-B35A7F4490B1}" 
          payment_method="credit_card" 
          billing_address_id="{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}" 
          saved_cy_oadjust_subtotal="74.95" 
          saved_cy_total_total="87.45" cc_name="American Express" 
          cc_expyear="2002" cc_expmonth="01" cc_number="123456789" 
          _cy_shipping_total="5" _cy_tax_total="7.5" 
          user_email_address="kim@somecompany.com" 
          cc_Account_Holder="Kim Abercrombie" cy_tax_total="7.5" 
          cy_shipping_total="5">
    <Addresses address_name="Kim Abercrombie" address_line1="我的家" 
            city="Redmond" region_code="WA" postal_code="12345" 
            country_code="US" description="住宅" 
            AddressesDictKey="{75C86243-63F2-4B13-A260-2F7BA25E954C}"/>
    <Addresses address_name="Kim Abercrombie" 
               address_line1="1 Microsoft Way" city="Redmond" 
               region_code="WA" postal_code="12345" country_code="US" 
               description="办公室" 
               AddressesDictKey="{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}"/>
    <Items quantity="1" product_id="651" 
           product_Name="Microsoft&#174 SideWinder® Freestyle Pro" 
           product_catalog="Hardware" product_category="" 
           description="即将推出" 
           shipping_address_id="{75C86243-63F2-4B13-A260-2F7BA25E954C}"
           shipping_method_id="{00000000-0000-0000-0000-003380005417}" 
           shipping_method_name="快递" 
           d_DateCreated="21/02/2001 15:33:31" 
           cy_lineitem_total="74.95" cy_unit_price="74.95" 
           lineitem_uid="{3F2B9804-42AE-4EE4-827C-360F9A177CB9}" 
           _product_Name="Microsoft® SideWinder® Freestyle Pro" 
           _cy_oadjust_adjustedprice="74.95"/>
    <shipments shipping_address_id="{75C86243-63F2-4B13-A260-2F7BA25E954C}" 
           shipping_method_id="{00000000-0000-0000-0000-003380005417}" 
           _cy_shipping_total="5"/>
  </orderform>
  <address>
    <generalinfo>
      <description>住宅</description>
      <tel_number>832832892</tel_number>
      <address_id>{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}</address_id>
      <address_type>2</address_type>
      <address_name>Kim Abercrombie</address_name>
      <address_line1>街道</address_line1>
      <address_line2/>
      <city>Redmond</city>
      <region_name>Washington</region_name>
      <postal_code>12345</postal_code>
    </generalinfo>
  </address>
  <code_table>
    <payment_method>
      <payment_method_id>amex</payment_method_id>
      <payment_method_name>American Express</payment_method_name>
    </payment_method>
    <payment_method>
      <payment_method_id>discover</payment_method_id>
      <payment_method_name>Discover</payment_method_name>
    </payment_method>
    <payment_method>
      <payment_method_id>mastercard</payment_method_id>
      <payment_method_name>Master Card</payment_method_name>
    </payment_method>
    <payment_method>
      <payment_method_id>visa</payment_method_id>
      <payment_method_name>Visa</payment_method_name>
    </payment_method>
    <month>
      <month_id>01</month_id><month_name>一月</month_name>
    </month>
    <month>
      <month_id>02</month_id><month_name>二月</month_name>
    </month>
    <month>
      <month_id>03</month_id><month_name>三月</month_name>
    </month>
    <month>
      <month_id>04</month_id><month_name>四月</month_name>
    </month>
    <month>
      <month_id>05</month_id><month_name>五月</month_name>
    </month>
    <month>
      <month_id>06</month_id><month_name>六月</month_name>
    </month>
    <month>
      <month_id>07</month_id><month_name>七月</month_name>
    </month>
    <month>
      <month_id>08</month_id><month_name>八月</month_name>
    </month>
    <month>
      <month_id>09</month_id><month_name>九月</month_name>
    </month>
    <month>
      <month_id>10</month_id><month_name>十月</month_name>
    </month>
    <month>
      <month_id>11</month_id><month_name>十一月</month_name>
    </month>
    <month>
      <month_id>12</month_id><month_name>十二月</month_name>
    </month>
    <year>2001</year>
    <year>2002</year>
    <year>2003</year>
    <year>2004</year>
    <year>2005</year>
    <year>2006</year>
  </code_table>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

Product.pasp

以下 XML 是 Product.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" server-config="Product-Config.xml" 
                 href="Product-IE5.xsl"?>
<page pagename="Product.pasp">
  <searchscope>书籍</searchscope>
  <advertising/>
  <getproduct>
    <book>
      <catalogname>书籍</catalogname>
      <definitionname>SDKBook</definitionname>
      <cy_list_price displayname="价格">27.99</cy_list_price>
      <originalprice displayname="您的价格">27.99</originalprice>
      <i_classtype>4</i_classtype>
      <productid>Code</productid>
      <variantid/>
      <author displayname="Author">Charles  Petzold</author>
      <description>
使用常用的家用物件和熟悉的语言系统,如 Morse 代码、Braille 和 CODE 

来揭示计算机和其他智能机器的内部运作。 </description> <image_filename>boxshots/press/2352.gif</image_filename> <image_height>120</image_height> <image_width>120</image_width> <isbn displayname="ISBN">0-7356-0505-X</isbn> <name displayname="名称">Code</name> <pagecount displayname="页数">400</pagecount> <producturl displayname="产品信息 Url"> a href=http://mspress.microsoft.com/prod/books/2352.htm target =_a
http://mspress.microsoft.com/prod/books/2352.htm /a </producturl> <publication_year displayname="出版年份"> 1999 </publication_year> <publisher displayname="出版商">Microsoft Press</publisher> <reading_level displayname="阅读程度"> All Levels </reading_level> <title displayname="书名">Code</title> </book> </getproduct> <relatedproducts/> <relatedcategories/> <parentcategories> <parentcategory> <catalogname>书籍</catalogname> <categoryname>商务参考</categoryname> </parentcategory> <parentcategory> <catalogname>书籍</catalogname> <categoryname>教育参考</categoryname> </parentcategory> <parentcategory> <catalogname>书籍</catalogname> <categoryname>编程语言</categoryname> </parentcategory> <selectiontitle>浏览类别:</selectiontitle> </parentcategories> <getcatalogsforuser> <selectiontitle>浏览目录:</selectiontitle> <catalog> <catalogname>书籍</catalogname> </catalog> <catalog> <catalogname>硬件</catalogname> </catalog> </getcatalogsforuser> <profile auth="auth"/> <exceptions></exceptions> </page>

Registration.pasp

以下 XML 是 Registration.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderHistoryDetail-Config.xml" 
                 href="OrderHistoryDetail-IE5.xsl"?xml-stylesheet type="text/xsl" 
                 server-config="Registration-Config.xml" 
                 href="Registration-IE5.xsl"?>
<page pagename="Registration.pasp">
  <advertising/>
  <pagemode/>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile/>
  <exceptions></exceptions>
</page>

SearchResults.pasp

以下 XML 是在 Books 目录中搜索 age 时,SearchResults.pasp 所生成输出的示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderHistoryDetail-Config.xml" 
                 href="OrderHistoryDetail-IE5.xsl"?xml-stylesheet type="text/xsl" 
                 server-config="SearchResults-Config.xml" 
                 href="SearchResults-IE5.xsl"?>
<page pagename="SearchResults.pasp">
  <advertising/>
  <searchscope>书籍</searchscope>
  <searchstring>年龄</searchstring>
  <searchcount>4</searchcount>
  <searchrowstoreturn>15</searchrowstoreturn>
  <searchstartpos>1</searchstartpos>
  <searchresults>
    <book>
      <catalogname>书籍</catalogname>
      <definitionname>SDKBook</definitionname>
      <originalprice displayname="您的价格">19.99</originalprice>
      <cy_list_price displayname="价格">19.99</cy_list_price>
      <i_classtype>4</i_classtype>
      <productid>
        Microsoft Age of Empires II: The Age of Kings: Inside Moves
      </productid>
      <description>
使用此指南,可以掌握所有致胜策略、技巧和诀窍,进入新版的 Microsoft Age of Empires! 

MICROSOFT AGE OF EMPIRES II: AGE OF KINGS:
INSIDE MOVES 告诉您如何在游戏中立于不败之地。 </description> <image_filename>boxshots /press/2388.gif</image_filename> <image_width>120</image_width> <image_height>120</image_height> <name displayname="名称"> Microsoft Age of Empires II: The Age of Kings: Inside Moves </name> </book> <book> <catalogname>书籍</catalogname> <definitionname>SDKBook</definitionname> <originalprice displayname="您的价格">16.99</originalprice> <cy_list_price displayname="价格">16.99</cy_list_price> <i_classtype>4</i_classtype> <productid>Microsoft Age of Empires: Inside Moves</productid> <description> MICROSOFT AGE OF EMPIRES: INSIDE MOVES 提供战略提示、策略和战术以协助您击败原始部落
并将他们带入伟大的文明。 </description> <image_filename>boxshots/press/1049.gif</image_filename> <image_width>120</image_width> <image_height>120</image_height> <name displayname="名称"> Microsoft Age of Empires: Inside Moves </name> </book> <book> <catalogname>书籍</catalogname> <definitionname>SDKBook</definitionname> <originalprice displayname="您的价格">29.99</originalprice> <cy_list_price displayname="价格">29.99</cy_list_price> <i_classtype>4</i_classtype> <productid>Grown-Ups Guide to Computing</productid> <description> 在 GROWN-UPS GUIDE TO COMPUTING 中,您将发现各行各业的人(无论老幼)如何通过使用计算机
来丰富他们的生活,
您也可以!如果您也和许多中老年人一样对计算机的用途和如何开始使用感兴趣,这本书是最佳选择。 </description> <image_filename>boxshots/press/3221.gif</image_filename> <image_width>120</image_width> <image_height>120</image_height> <name displayname="Name">Grown-Ups Guide to Computing</name> </book> <book> <catalogname>书籍</catalogname> <definitionname>SDKBook</definitionname> <originalprice displayname="您的价格">16.99</originalprice> <cy_list_price displayname="价格">16.99</cy_list_price> <i_classtype>4</i_classtype> <productid> Microsoft Age of Empires: Inside Moves,修订版和扩充版 </productid> <description> MICROSOFT AGE OF EMPIRES: INSIDE MOVES,修订版和扩充版,告诉您在玩“帝国时代”时
如何部署致胜策略及一些内幕技巧和提示。Microsoft Age of Empires: Inside Moves (Microsoft Press, 1997) 第一版畅销书已完全更新,其中包含“帝国时代”部分和
全新的扩充内容“罗马的崛起”。 </description> <image_filename>boxshots/press/2470.gif</image_filename> <image_width>120</image_width> <image_height>120</image_height> <name displayname="Name"> Microsoft Age of Empires: Inside Moves, Revised and Expanded Edition </name> </book> <selectiontitle> 找到与搜索标准 'Age'匹配的产品 </selectiontitle> </searchresults> <getcatalogsforuser> <selectiontitle>浏览目录:</selectiontitle> <catalog> <catalogname>书籍</catalogname> </catalog> <catalog> <catalogname>硬件</catalogname> </catalog> </getcatalogsforuser> <profile/> <exceptions></exceptions> </page>

Shipping.pasp

以下 XML 是 Shipping.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderHistoryDetail-Config.xml" 
                 href="OrderHistoryDetail-IE5.xsl"?xml-stylesheet type="text/xsl" 

server-config="Shipping-Config.xml" href="Shipping-IE5.xsl"?> <page pagename="Shipping.pasp"> <pagemode>Shipping.pasp</pagemode> <advertising/> <addresses> <address> <address_id>{75C86243-63F2-4B13-A260-2F7BA25E954C}</address_id> <description>住宅</description> <address_name>Kim Abercrombie</address_name> <address_line1>我的家</address_line1> <address_line2/> <city>Redmond</city> <region_code>Washington</region_code> <region_name>Washington</region_name> <postal_code>12345</postal_code> </address> <address> <address_id>{C062AAA0-D54B-480D-ACE8-EB73662DA1F5}</address_id> <description>Office</description> <address_name>1 Kim Abercrombie</address_name> <address_line1>1 Microsoft Way</address_line1> <address_line2/> <city>Redmond</city> <region_code>Washington</region_code> <region_name>Washington</region_name> <postal_code>12345</postal_code> </address> </addresses> <getcatalogsforuser> <selectiontitle>浏览目录:</selectiontitle> <catalog> <catalogname>书籍</catalogname> </catalog> <catalog> <catalogname>硬件</catalogname> </catalog> </getcatalogsforuser> <profile auth="auth"/> <exceptions></exceptions> </page>

ShippingMethod.pasp

以下 XML 是 ShippingMethod.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderHistoryDetail-Config.xml" 
                 href="OrderHistoryDetail-IE5.xsl"?xml-stylesheet type="text/xsl" 
                 server-config="ShippingMethod-Config.xml" 
                 href="ShippingMethod-IE5.xsl"?>
<page pagename="ShippingMethod.pasp">
  <pagemode>ShippingMethod.pasp</pagemode>
  <advertising/>
  <code_table>
    <shipping_method>
      <shipping_method_id>
        {00000000-0000-0000-0000-003380005417}
      </shipping_method_id>
      <shipping_method_name>快递</shipping_method_name>
    </shipping_method>
    <shipping_method>
      <shipping_method_id>
        {00000000-0000-0000-0000-001861008604}
      </shipping_method_id>
      <shipping_method_name>标准</shipping_method_name>
    </shipping_method>
  </code_table>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catalogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

ThankYou.pasp

以下 XML 是 ThankYou.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="OrderHistoryDetail-Config.xml" 
                 href="OrderHistoryDetail-IE5.xsl"?xml-stylesheet type="text/xsl" 

server-config="ThankYou-Config.xml" href="ThankYou-IE5.xsl"?> <page pagename="ThankYou.pasp"> <advertising/> <ordernumber>1002</ordernumber> <getcatalogsforuser> <selectiontitle>浏览目录:</selectiontitle> <catalog> <catalogname>书籍</catalogname> </catalog> <catalog> <catalogname>硬件</catalogname> </catalog> </getcatalogsforuser> <profile auth="auth"/> <exceptions></exceptions> </page>

UserProfile.pasp

以下 XML 是 UserProfile.pasp 的输出示例。

<?xml-stylesheet type="text/xsl" 
                 server-config="UserProfile-Config.xml" 
                 href="UserProfile-IE5.xsl"?>
<page pagename="UserProfile.pasp">
  <profilemenu/>
  <pagemode/>
  <userobject>
    <accountinfo>
      <org_id/>
      <account_status>1</account_status>
      <user_catalog_set/>
      <date_registered/>
    </accountinfo>
    <advertising>
      <campaign_history/>
    </advertising>
    <businessdesk>
      <partner_desk_role/>
    </businessdesk>
    <generalinfo>
      <user_id>{31317332-6951-4460-9C14-0114341CC33B}</user_id>
      <logon_name>kim</logon_name>
      <user_security_password>密码</user_security_password>
      <email_address>kim@somecompany.com</email_address>
      <user_type>1</user_type>
      <user_title/>
      <last_name></last_name>
      <first_name></first_name>
      <tel_number></tel_number>
      <tel_extension/>
      <fax_number></fax_number>
      <fax_extension></fax_extension>
      <user_id_changed_by/>
    </generalinfo>
    <profilesystem>
      <date_last_changed>2/21/2001 11:21:51 AM</date_last_changed>
      <date_created>2/21/2001 11:21:51 AM</date_created>
    </profilesystem>
  </userobject>
  <getcatalogsforuser>
    <selectiontitle>浏览目录:</selectiontitle>
    <catalog>
      <catalogname>书籍</catalogname>
    </catalog>
    <catalog>
      <catHardwareogname>硬件</catalogname>
    </catalog>
  </getcatalogsforuser>
  <profile auth="auth"/>
  <exceptions></exceptions>
</page>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值