PageRenderTime 70ms CodeModel.GetById 66ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/xquery/remove-synonym.xql

http://transcriptstudio4isha.googlecode.com/
Unknown | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | d4e2ac23cc1acb6822ad11f7efede0e7 MD5 | raw file
 1xquery version "1.0";
 2
 3import module namespace concept-fns = "http://www.ishafoundation.org/ts4isha/xquery/concept-fns" at "concept-fns.xqm";
 4
 5let $conceptId := request:get-parameter("conceptId", ())
 6return
 7	if (exists($conceptId)) then
 8		concept-fns:remove-synonym($conceptId)
 9	else
10		()