Wednesday, 7 March 2012

Reading schema node value

Following example show, how to read schema node value:

strAction = System.Convert.ToString(xpath(msg_StudAcadsReq,"string(
/*[local-name()='getStudentAcademicRequest' and amespace-uri()='http://schemas.careered.com/student']
/*[local-name()='Header' and namespace-uri()='http://schemas.careered.com/student']
/*[local-name()='Action' and namespace-uri()='http://schemas.careered.com/student']
)"));


strSSID = System.Convert.ToString(xpath(msg_StudAcadsReq,"string(
/*[local-name()='getStudentAcademicRequest' and namespace-uri()='http://schemas.careered.com/student']
/*[local-name()='Header' and namespace-uri()='http://schemas.careered.com/student']
/*[local-name()='SourceSystemId' and namespace-uri()='http://schemas.careered.com/student']
)"));

No comments:

Post a Comment