I have a webcall that returns some XML.

<?xml version="1.0" encoding="utf-8"?>
<ABRPayloadSearchResults xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes";>
  <request>
    <identifierSearchRequest>
      
<authenticationGUID>dd9afbd8-969d-4f7d-aa02-3f742abba131</authenticationGUID>
      <identifierType>ABN</identifierType>
      <identifierValue>95151285933</identifierValue>
      <history>N</history>
    </identifierSearchRequest>
  </request>
</ABRPayloadSearchResults>

I can return a value via XPOINTER.

<@ASSIGN NAME=“GUID" SCOPE="user" VALUE="<@VAR NAME='MyDom' 
XPOINTER='root().child(1).child(1).child(1)'>">
@@GUID

returns: dd9afbd8-969d-4f7d-aa02-3f742abba131

But can’t work out the ELEMENTVALUE path to return same:

<@ELEMENTVALUE myDom 
xpath='/ABRPayloadSearchResults/request/identifierSearchRequest/authenticationGUID’>

returns nothing.

I’m sure it’s something simple (it always is) but it’s got me stumped.

Any help would be appreciated.

Wayne

Byteserve Pty Ltd
w: http://www.byteserve.com.au/
e: i...@byteserve.com.au
p: +61 02 9960 6099
m: 0409 960 609
f: +61 02 9960 6088




----------------------------------------

To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.

Reply via email to