admin:group-trace-event( $event-id as xs:string ) as element(gr:event)
This function constructs an event element for the specified event name.
Parameters | |
---|---|
event-id | The exact name of the trace event. |
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: Get the most useful answers to questions from the MarkLogic community, or ask your own question.