[xquery-talk] parent path

Michael Kay mhk at mhk.me.uk
Sat May 20 11:09:14 PDT 2006


> suppose i have a path /factory/empl/firstname how to get 
> parent path of this path which is /factory/empl 

Try replace($path, '/[^/]*$', '')

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



More information about the talk mailing list