查询elementpath XML数据源

时间:2018-09-10 11:45:56

标签: xml reporting-services report

我需要寻找正确的查询代码以从Reporting Services中的xml数据源获取值的帮助。

XML看起来像这样:

<?xml version="1.0" encoding="utf-8"?>
<Objects>
  <Object>
    <Property Name="userDisplayName">abcabc123</Property>
    <Property Name="deviceName">abcabc123</Property>
    <Property Name="emailAddress">abcabc123</Property>
    <Property Name="userPrincipalName">abcabc123</Property>
    <Property Name="manufacturer">Hewlett-Packard</Property>
    <Property Name="model">HP EliteBook Folio 9470m</Property>
    <Property Name="serialNumber">abcabc123</Property>
    <Property Name="lastSyncDateTime">2018-06-11 10:07:13</Property>
    <Property Name="enrolledDateTime">2017-05-16 07:47:00</Property>
    <Property Name="operatingSystem">Pro</Property>
    <Property Name="osVersion">10.0.14393.0</Property>
    <Property Name="ownerType">company</Property>
    <Property Name="managementAgent">mdm</Property>
    <Property Name="deviceEnrollmentType">windowsAzureADJoin</Property>
    <Property Name="azureADRegistered">True</Property>
    <Property Name="complianceState">noncompliant</Property>
    <Property Name="deviceRegistrationState">registered</Property>
  </Object>
</Objects>

我的进度已经到了,我陷入了僵局。

<Query>
<ElementPath>Objects {}/Object/Property{ @Name(String)}</ElementPath>
</Query>

0 个答案:

没有答案