[MarkLogic Dev General] Clarification on External Variable

Selven Xavier selvenxavier06 at gmail.com
Sun Oct 11 23:51:14 PDT 2009


Hi Team,

Following is the code snippet of
“/MarkLogic/conversion/actions/convert-pdf-action.xqy”. We need to know,
from where $cpf:document-uri external variable is set. Is that variable is
set through Java file or another?





import module namespace lnk = "http://marklogic.com/cpf/links"

   at "/MarkLogic/cpf/links.xqy"

import module namespace cpf = "http://marklogic.com/cpf"

   at "/MarkLogic/cpf/cpf.xqy"

import module namespace cvt ="http://marklogic.com/cpf/convert"

   at "/MarkLogic/conversion/convert.xqy"

import module namespace pdf ="http://marklogic.com/cpf/pdf"

   at "/MarkLogic/conversion/pdf.xqy"

default element namespace = "http://www.w3.org/1999/xhtml"



declare namespace
this="/MarkLogic/conversion/actions/convert-pdf-action.xqy"

declare namespace tidy="xdmp:tidy"

declare namespace pdf-convert="xdmp:pdf-convert"



default collation="http://marklogic.com/collation/codepoint"



define variable $*cpf:document-uri* as xs:string external

define variable $*cpf:transition* as node() external

define variable $cpf:options as node() external



Can anyone help us, which file/trigger (i.e. step by step file call) will
get call, when we drag and drop PDF file?



Thanks in Advance,



Regards,

Selven Xavier .A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20091012/b1a986c4/attachment.html


More information about the General mailing list