xml 使用和不使用select属性演示相同查询结果之间的差异。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml 使用和不使用select属性演示相同查询结果之间的差异。相关的知识,希望对你有一定的参考价值。

<!-- results of query that does not use the select attribute -->
<SOAP-ENV:Envelope 
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <Result>
      <Item type="Workflow" typeId="9E212D4ED3C64493B631EE15D0A62AF7" id="B6A588101AD844C78954452BA44DC4EF">
        <behavior>hard_float</behavior>
        <config_id keyed_name="B6A588101AD844C78954452BA44DC4EF" type="Workflow">B6A588101AD844C78954452BA44DC4EF</config_id>
        <created_by_id keyed_name="Super User" type="User">AD30A6D8D3B642F5A2AFED1A4B02BEFA</created_by_id>
        <created_on>2017-04-04T14:54:06</created_on>
        <generation>1</generation>
        <id keyed_name="B6A588101AD844C78954452BA44DC4EF" type="Workflow">B6A588101AD844C78954452BA44DC4EF</id>
        <is_current>1</is_current>
        <is_released>0</is_released>
        <keyed_name>B6A588101AD844C78954452BA44DC4EF</keyed_name>
        <major_rev>A</major_rev>
        <modified_by_id keyed_name="Super User" type="User">AD30A6D8D3B642F5A2AFED1A4B02BEFA</modified_by_id>
        <modified_on>2017-04-04T14:54:06</modified_on>
        <new_version>1</new_version>
        <not_lockable>0</not_lockable>
        <owned_by_id keyed_name="Mike Miller" type="Identity">E0EFB1EE80724BCDB10E68254ADFF673</owned_by_id>
        <permission_id keyed_name="Express Change - Closed" type="Permission" origPermission="E9340F0B9C3742DD9C75A00EEF2CF3FC">E9340F0B9C3742DD9C75A00EEF2CF3FC</permission_id>
        <related_id keyed_name="DCO-00001001" type="Workflow Process">
          <Item type="Workflow Process" typeId="261EAC08AE9144FC95C49182ACE0D3FE" id="3AAA22CCD01C49C79362E88DB566FD54">
            <active_date>2016-12-01T18:59:00</active_date>
            <closed_date>2016-12-05T15:20:00</closed_date>
            <config_id keyed_name="DCO-00001001" type="Workflow Process">3AAA22CCD01C49C79362E88DB566FD54</config_id>
            <copied_from_string>6CCB9DB9829E4B8993D5881F427854C0</copied_from_string>
            <created_by_id keyed_name="Mike Miller" type="User">E8DA8A7D08BF43B99B55465B5C4AC3BE</created_by_id>
            <created_on>2016-12-01T18:59:00</created_on>
            <css>date-change:created_ondate-change:modified_ondate-change:active_datedate-change:created_ondate-change:modified_ondate-change:closed_date</css>
            <current_state keyed_name="Closed" type="Life Cycle State" name="Closed">46672469D8964E699F24F2AA243FF5B3</current_state>
            <description xml:lang="en">Express DCO Workflow</description>
            <generation>1</generation>
            <id keyed_name="DCO-00001001" type="Workflow Process">3AAA22CCD01C49C79362E88DB566FD54</id>
            <is_current>1</is_current>
            <is_released>0</is_released>
            <keyed_name>DCO-00001001</keyed_name>
            <label xml:lang="en">Express DCO</label>
            <major_rev>A</major_rev>
            <modified_by_id keyed_name="Super User" type="User">AD30A6D8D3B642F5A2AFED1A4B02BEFA</modified_by_id>
            <modified_on>2017-04-04T14:54:32</modified_on>
            <new_version>1</new_version>
            <node_bg_color></node_bg_color>
            <node_label1_color></node_label1_color>
            <node_label1_font/>
            <node_label2_color></node_label2_color>
            <node_label2_font/>
            <node_name_color></node_name_color>
            <node_name_font/>
            <node_size/>
            <not_lockable>0</not_lockable>
            <permission_id keyed_name="Workflow Process Closed" type="Permission" origPermission="C8A6F54842D047F5928C302CFEE26FF9">C8A6F54842D047F5928C302CFEE26FF9</permission_id>
            <process_owner keyed_name="CM" type="Identity">F6624E9AE5504958A84E4B6A5831298B</process_owner>
            <state>Closed</state>
            <transition_line_color></transition_line_color>
            <transition_name_color></transition_name_color>
            <transition_name_font/>
            <name>DCO-00001001</name>
            <Relationships>
              <Item type="Workflow Process Activity" typeId="F3F07BFCCDDF48E79ED239F0111E4710" id="EAD628625E374E64AADD28481313F2A4">
                <behavior>float</behavior>
                <config_id keyed_name="EAD628625E374E64AADD28481313F2A4" type="Workflow Process Activity">EAD628625E374E64AADD28481313F2A4</config_id>
                <created_by_id keyed_name="Super User" type="User">AD30A6D8D3B642F5A2AFED1A4B02BEFA</created_by_id>
                <created_on>2017-04-04T14:54:05</created_on>
                <generation>1</generation>
                <id keyed_name="EAD628625E374E64AADD28481313F2A4" type="Workflow Process Activity">EAD628625E374E64AADD28481313F2A4</id>
                <is_current>1</is_current>
                <is_released>0</is_released>
                <keyed_name>EAD628625E374E64AADD28481313F2A4</keyed_name>
                <major_rev>A</major_rev>
                <modified_by_id keyed_name="Super User" type="User">AD30A6D8D3B642F5A2AFED1A4B02BEFA</modified_by_id>
                <modified_on>2017-04-04T14:54:05</modified_on>
                <new_version>1</new_version>
                <not_lockable>0</not_lockable>
                <permission_id keyed_name="Workflow Process Closed" type="Permission" origPermission="C8A6F54842D047F5928C302CFEE26FF9">C8A6F54842D047F5928C302CFEE26FF9</permission_id>
                <related_id keyed_name="Draft Changes" type="Activity">
                  <Item type="Activity" typeId="937CE47DE2854308BE6FF5AB1CFB19D4" id="E5FB6BE020D247F49927E43BB5788240">
                    <active_date>2016-12-02T13:55:00</active_date>
                    <can_delegate>1</can_delegate>
                    <can_refuse>1</can_refuse>
                    <closed_date>2016-12-05T15:12:00</closed_date>
                    <config_id keyed_name="Draft Changes" type="Activity">E5FB6BE020D247F49927E43BB5788240</config_id>
                    <consolidate_ondelegate>0</consolidate_ondelegate>
                    <created_by_id keyed_name="Super User" type="User">AD30A6D8D3B642F5A2AFED1A4B02BEFA</created_by_id>
                    <created_on>2017-04-04T14:54:05</created_on>
                    <css>date-change:active_datedate-change:modified_ondate-change:closed_date</css>
                    <current_state keyed_name="Closed" type="Life Cycle State" name="Closed">46672469D8964E699F24F2AA243FF5B3</current_state>
                    <generation>1</generation>
                    <icon>../images/WorkflowNode.svg</icon>
                    <id keyed_name="Draft Changes" type="Activity">E5FB6BE020D247F49927E43BB5788240</id>
                    <is_auto>0</is_auto>
                    <is_current>1</is_current>
                    <is_end>0</is_end>
                    <is_escalated>0</is_escalated>
                    <is_released>0</is_released>
                    <is_start>0</is_start>
                    <keyed_name>Draft Changes</keyed_name>
                    <label xml:lang="en">Draft Changes</label>
                    <major_rev>A</major_rev>
                    <managed_by_id keyed_name="Owner" type="Identity">538B300BB2A347F396C436E9EEE1976C</managed_by_id>
                    <message xml:lang="en">Update affected documents</message>
                    <modified_by_id keyed_name="Mike Miller" type="User">E8DA8A7D08BF43B99B55465B5C4AC3BE</modified_by_id>
                    <modified_on>2016-12-05T15:12:00</modified_on>
                    <new_version>1</new_version>
                    <not_lockable>0</not_lockable>
                    <permission_id keyed_name="Workflow Process Closed" type="Permission" origPermission="C8A6F54842D047F5928C302CFEE26FF9">C8A6F54842D047F5928C302CFEE26FF9</permission_id>
                    <state>Closed</state>
                    <wait_for_all_inputs>0</wait_for_all_inputs>
                    <wait_for_all_votes>0</wait_for_all_votes>
                    <x>323</x>
                    <y>55</y>
                    <name>Draft Changes</name>
                  </Item>
                </related_id>
                <sort_order>512</sort_order>
                <source_id keyed_name="DCO-00001001" type="Workflow Process">3AAA22CCD01C49C79362E88DB566FD54</source_id>
              </Item>
            </Relationships>
          </Item>
        </related_id>
        <sort_order>128</sort_order>
        <source_id>38FE441E50824C409282741F0DA9D531</source_id>
        <source_type keyed_name="Express DCO" type="ItemType" name="Express DCO">B678FAF40F7246A7925FB5B116988915</source_type>
        <team_id keyed_name="Product Team" type="Team">862B05F3713F43E793735EDF11D54611</team_id>
      </Item>
    </Result>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

以上是关于xml 使用和不使用select属性演示相同查询结果之间的差异。的主要内容,如果未能解决你的问题,请参考以下文章

csharp 演示使用select语句仅检索查询中必需属性的Aras最佳实践。

mysql buffer

使用 PIVOT 和 UNPIVOT实现查询结果行转列

buffer的相关小知识

csharp 演示使用select属性仅检索相关项的name属性的Aras最佳实践。

hibernate 一对多双向关联 外键值为空 怎么结决?