Hi guys
Just to let you know that i got a solution. I was treating Mod_Code as a child of Mod_Coordinator rather than a sibling, therefore the correct syntax is:
set EditList =
ObjDOMDoc.selectNodes("Mod_Spec/Module_Specification/Mod_Coordinator[contains(.,'"& Session("UserName") & "')]/...
Hi manitoba
Thanks for your suggestion, however Session("UserName") will not always be exact match to the data stored within Mod_Coordinator, therefore i cant see any other alternative but to use the contains function, however i still cant seem to get it working.
Loe
I am having slight problems using the XPath contains() function. I have to following xml file
<Mod_Spec>
- <Module_Specification>
<Mod_Title>Web Application Development</Mod_Title>
<Mod_Code>COM409J1</Mod_Code>
<Mod_Level>2</Mod_Level>
<Credit_Pts>10</Credit_Pts>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.