Loading TOC...

pdf:get-toc

pdf:get-toc(
   $uri as xs:string
) as element()?

Summary

Fetch the linked TOC, if any.

Parameters
uri The URI of the converted PDF document.

Example

  xquery version "1.0-ml";
  import module namespace pdf = "http://marklogic.com/cpf/pdf" 
		  at "/MarkLogic/conversion/pdf.xqy";

  pdf:get-toc("my_pdf.xhtml")
  

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