Loading TOC...

admin:group-trace-event

admin:group-trace-event(
   $event-id as xs:string
) as element(gr:event)

Summary

This function constructs an event element for the specified event name.

Parameters
event-id The exact name of the trace event.

Example


  xquery version "1.0-ml";

  import module namespace admin = "http://marklogic.com/xdmp/admin"
		  at "/MarkLogic/admin.xqy";

  admin:group-trace-event("CPF on-state-enter")
  (: returns the event element for the CPF on state enter trace event :)
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.