12-02-05 10:51 PM
Thanks, i thought so, it looks like my assumed logic for
StatusValue = xpath(PasOut,"string(@StatusValue)"); does not actually
render the correct value from this document.
<?xml version="1.0" encoding="utf-16"?>
<PASData StatusValue="0" StatusDescription="SUCCESS">
<PASTransaction>
<TransactionDate>20051129</TransactionDate>
<TransactionID>32109</TransactionID>
<Event>PMIA</Event>
<EventType>A</EventType>
<TransactionTime>121408</TransactionTime>
So now i've got to figure out how to get this value....
"Samuel L" <SamuelL@discussions.microsoft.com> wrote in message
news:1370AE30-1C2C-46D2-8510-DEE18224F326@microsoft.com...
> Hi Namshub!
>
> If I interpret your description correctly this is the way you should write
> the logic:
>
> StatusValue != 0 && EventType != "D"
>
> This expression will evaluate to true exactly when
> Status is not 0 AND Event is not D
>
> This means that if status = 0 then this expression will be false
> It also means that if Event = D then this expression will be false
>
> Hope this was what you intended!?!
> Please let me know if something is unclear!
>
> Good luck!
>
[ Post a follow-up to this message ]
|