Loading max.xq +2 −1 Original line number Diff line number Diff line Loading @@ -184,6 +184,7 @@ declare function max:getFullDocument($project, $doc, $search as xs:string ?, $focus as xs:string ?){ let $docName := $doc || ".xml" let $xmlDoc := (doc(max.config:getProjectDBPath($project) || "/" || $docName)/*)[1] let $id := $xmlDoc/@xml:id let $xml := <div id='text'> {max.util:getTextHookFragment($project, $docName)} Loading @@ -193,7 +194,7 @@ function max:getFullDocument($project, $doc, $search as xs:string ?, $focus as x let $html := max.html:render( $project, "doc/" || $docName, <div> <div>{max.html:invokePluginXQueries($project, $docName, ())}</div> <div>{max.html:invokePluginXQueries($project, $docName, $id)}</div> {$txml} </div>) return max:applySearchMarkup($html, $search, $focus) Loading Loading
max.xq +2 −1 Original line number Diff line number Diff line Loading @@ -184,6 +184,7 @@ declare function max:getFullDocument($project, $doc, $search as xs:string ?, $focus as xs:string ?){ let $docName := $doc || ".xml" let $xmlDoc := (doc(max.config:getProjectDBPath($project) || "/" || $docName)/*)[1] let $id := $xmlDoc/@xml:id let $xml := <div id='text'> {max.util:getTextHookFragment($project, $docName)} Loading @@ -193,7 +194,7 @@ function max:getFullDocument($project, $doc, $search as xs:string ?, $focus as x let $html := max.html:render( $project, "doc/" || $docName, <div> <div>{max.html:invokePluginXQueries($project, $docName, ())}</div> <div>{max.html:invokePluginXQueries($project, $docName, $id)}</div> {$txml} </div>) return max:applySearchMarkup($html, $search, $focus) Loading