[xquery-talk] query help

Michael Kay mhk at mhk.me.uk
Wed Sep 20 13:45:52 PDT 2006


 
> 
> I want to write a query that would check if job code given in
> //BasicInfo/JobGroups/JobGroup/JobCodes/JobCode/text()
> 
> Is among one of them specified at
> //BasicInfo/Divisions/Division/Locations/Location/Departments/
> Department
> /JobCode
> 
> If not then I would like the query to return that job code.

//BasicInfo/JobGroups/JobGroup/JobCodes/JobCode
[not(. =
//BasicInfo/Divisions/Division/Locations/Location/Departments/Department/Job
Code)]

Michael Kay
http://www.saxonica.com/



More information about the talk mailing list