Ok, I am able to get the count with this:
nRecordCount = System.Convert.ToInt32(xpath(BatchClinicalValue, “count(/*[local-name()=’PushClinicalData’]/*[local-name()=’ClinicalDataStructure’])”));
Now to debatch, I need to assign it to a message:
Why isn’t this working in this case
sXpath = System.String.Format(“[local-name()=’PushClinicalData’]/*[local-name()=’ClinicalDataStructure’][{0}]”,nLoopCount);
ClinicalDataInstance = xpath(BatchClinicalValue, sXpath);
Thank you