Previously, using the simple-format XML data source, I queried the entire data source, then set a field to
xdXDocument:GetDOM("SimpleXML")/query/row/C.POSITION_NBR[../A.EMPLID = xdXDocument:get-DOM()/my:myFields/my:requestorGrp/my:ReqEmplID and contains(../C.DESCR, "- AP")]
using complicated XML structure, how do I set field to
xdXDocument:GetDOM("UTA_HR_UTA20_ALL-BAD")/ns1:webRowSet/ns1:data/ns1:currentRow/ns1:columnValue[../../../ns1:metadata/ns1:column-definition/ns1:column-label = "C.POSITION_NBR"]
from the same row where
xdXDocument:GetDOM("UTA_HR_UTA20_ALL-BAD")/ns1:webRowSet/ns1:data/ns1:currentRow/ns1:columnValue[../../../ns1:metadata/ns1:column-definition/ns1:column-label = "A.EMPLID"] = xdXDocument:get-DOM()/my:myFields/my:requestorGrp/my:ReqEmplID
and
contains(xdXDocument:GetDOM("UTA_HR_UTA20_ALL-BAD")/ns1:webRowSet/ns1:data/ns1:currentRow/ns1:columnValue[../../../ns1:metadata/ns1:column-definition/ns1:column-label = "C.DESCR"], "- AP")
MANY THANKS FOR ANY GUIDANCE YOU CAN OFFER! --Susan