- All Modules
- All Functions
-
www.w3.org
- 2005
- XDM
- store
- introspection
- reflection
- external
-
xqdoc
-
project_xqdoc
-
xqdoc
(E)
- xqdoc2xhtml
-
project_xqdoc
- data processing
- expath.org
- www.functx.com
- error
http://www.zorba-xquery.com/modules/project_xqdoc
Module Description
Before using any of the functions below please remember to import the module namespace:
import module namespace pxqdoc = "http://www.zorba-xquery.com/modules/project_xqdoc";
Function library provides functions for generating the XQDoc XML's for a project.
Author:
Sorin Nasoi
XQuery version and encoding for this module:
xquery version "3.0" encoding "utf-8";
Module Resources
- the XQuery module can be found here.
Module Dependencies
Imported modules:
- http://www.zorba-xquery.com/modules/xqdoc
- http://expath.org/ns/file
- http://www.zorba-xquery.com/modules/fetch
- http://www.zorba-xquery.com/modules/xqdoc2xhtml/error
Imported schemas:
Namespaces
ann | http://www.zorba-xquery.com/annotations |
err | http://www.zorba-xquery.com/modules/xqdoc2xhtml/error |
fetch | http://www.zorba-xquery.com/modules/fetch |
file | http://expath.org/ns/file |
output | http://www.w3.org/2010/xslt-xquery-serialization |
pxqdoc | http://www.zorba-xquery.com/modules/project_xqdoc |
ver | http://www.zorba-xquery.com/options/versioning |
werr | http://www.w3.org/2005/xqt-errors |
xqd | http://www.zorba-xquery.com/modules/xqdoc |
xqdoc | http://www.xqdoc.org/1.0 |
zm | http://www.zorba-xquery.com/manifest |
Variables
$pxqdoc:serParamXml The serialization parameters for XML serialization. |
Function Summary
![]() |
delete-XML-dir
(
$xqdocPath as xs:string)
) |
![]() |
generate-xqdoc-XML
(
$zorbaManifestPath as xs:string,
$xqdocPath as xs:string)
) This function generates the XQDoc XML for all the modules found in build/ZorbaManifest. |
get-filename
(
$moduleURI as xs:string
) as xs:string Returns the string resulting from replacing the directory-separators (i. |
Functions
declare %ann:sequential function pxqdoc:delete-XML-dir (
$xqdocPath as xs:string)
)
Delete the intermediary xml dir
Parameters:
- $xqdocPath where to generate the XQDoc XML documents.
Returns:
- empty sequence.
declare %ann:sequential function pxqdoc:generate-xqdoc-XML ( $zorbaManifestPath as xs:string, $xqdocPath as xs:string) )
This function generates the XQDoc XML for all the modules found in build/ZorbaManifest.xml
Parameters:
- $zorbaManifestPath location of ZorbaManifest.xml.
- $xqdocPath where to generate the XQDoc XML documents.
Returns:
- empty sequence.
declare function pxqdoc:get-filename (
$moduleURI as xs:string
) as xs:string
Returns the string resulting from replacing the directory-separators (i.e. / ) with '_'
Parameters:
- $moduleURI the path to the module URI.
Returns:
- the string resulting from replacing the directory-separators (i.e. / ) with '_'.