[ptt-users] Re: Help with Xpath
Norm Dressler
norm.dressler at emergis.com
Wed May 28 12:09:26 PDT 2008
I figured out the xpath. syntax is everything :)
Now if only I can figure out the response xpath correctly -- its not
quite the same and returning null.
Header is like this:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<PRPA_IN101105CA-Response xmlns="urn:hl7-org:v3">
<PRPA_IN101106CA ITSVersion="XML_1.0">
...
<acknowledgement>
<typeCode code="AA"/> <---------
<messageWaitingNumber/>
<targetMessage>
<id root="D48A98EC-4CF0-4BCC-B9A9-AAEDDF7439A8"/>
</targetMessage>
</acknowledgement>
...
To do a property transfer for typeCode in the response, what would the
xpath be?
Norm
On Wed, 2008-05-28 at 15:18 -0230, Norm Dressler wrote:
> My xml snippit looks like this:
> <hl7:clientIDPub>
> <hl7:value root="2.16.840.1.113883.4.52" extension=""
> displayable="true"></hl7:value>
> </hl7:clientIDPub>
>
> In the Properties Transfer, if I put //hl7:clientIDPub//hl7:value it
> injects the value so I know its finding the clientIDPub. I want it to
> inject the value into extension. How do I define the xpath for that?
>
> Thanks for any help.
>
> Norm
More information about the Users
mailing list