Quantcast
Channel: Nintex Connect: Active Threads
Viewing all articles
Browse latest Browse all 4245

No Result for XPATH on XML

$
0
0

Hi,

 

I have a question about the "Query XML" action. Why does the following XML deliver no outpout querying it with XPATH:

###########
XML:

###########

<Soap:Envelope xmlns:Soap="http://schemas.xmlsoap.org/soap/envelope/">
  <Soap:Body>
    <GetMasterData_Result xmlns="urn:microsoft-dynamics-schemas/codeunit/MasterDataService">
      <masterData>
        <Items xmlns="urn:microsoft-dynamics-nav/xmlports/x50000">
          <No>SPK-101</No>
          <Description>AAAABolzen für LS-100</Description>
          <BaseUnitOfMeasure>STÜCK</BaseUnitOfMeasure>
          <UnitPrice>21.00</UnitPrice>
        </Items>
        <Items xmlns="urn:microsoft-dynamics-nav/xmlports/x50000">
          <No>SPK-102</No>
          <Description>BBBBBolzen für LS-100</Description>
          <BaseUnitOfMeasure>STÜCK</BaseUnitOfMeasure>
          <UnitPrice>21.00</UnitPrice>
        </Items>
        <Items xmlns="urn:microsoft-dynamics-nav/xmlports/x50000">
          <No>SPK-100</No>
          <Description>CCCCBolzen für LS-100</Description>
          <BaseUnitOfMeasure>STÜCK</BaseUnitOfMeasure>
          <UnitPrice>21.00</UnitPrice>
        </Items>
        <ResponsibilityCenters xmlns="urn:microsoft-dynamics-nav/xmlports/x50000">
          <Code>DÜSSELDORF</Code>
          <Name>CRONUS, Düsseldorf</Name>
        </ResponsibilityCenters>
        <ResponsibilityCenters xmlns="urn:microsoft-dynamics-nav/xmlports/x50000">
          <Code>HAMBURG</Code>
          <Name>CRONUS, Hamburg</Name>
        </ResponsibilityCenters>
      </masterData>
    </GetMasterData_Result>
  </Soap:Body>
</Soap:Envelope>

###########
XPATH:

###########
/Soap:Envelope/Soap:Body/GetMasterData_Result/masterData/Items/No

 

 

...

If I test it here: http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm it works correctly.


Thanks!
Michael

 


Viewing all articles
Browse latest Browse all 4245

Trending Articles