Loading TOC...

MarkLogic Server 11.0 Product Documentation
infodev:ticket-set-total-transactions

infodev:ticket-set-total-transactions(
   $ticket-id as xs:string,
   $total-transactions as xs:unsignedInt
) as empty-sequence()

Summary

[DEPRECATED] This function adds and sets the value of a total-transactions element in the specified ticket.

Parameters
ticket-id The id of the ticket.
total-transactions The total-transactions value to set.

Example

  xquery version "1.0-ml"; 

  import module namespace infodev = "http://marklogic.com/appservices/infostudio/dev"
      at "/MarkLogic/appservices/infostudio/infodev.xqy";

  infodev:ticket-set-total-transactions("/tickets/ticket/13580249356496860619", 2)

  (: Adds a <total-transactions> element to the ticket and sets the value to 2. :)
    

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