- 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
- debugger
- error
- www.zorba-xquery.com
http://www.zorba-xquery.com/modules/xqdoc2xhtml/
import module namespace xqdoc2html = "http://www.zorba-xquery.com/modules/xqdoc2xhtml/";
Function library providing transformation functions from XQDoc to XHTML.
Gabriel Petrovay, Sorin Nasoi
xquery version "3.0" encoding "utf-8";
The latest version of this module is 2.0. For more information about module versioning in Zorba please check out this resource.
- the XQuery module can be found here.
Imported modules:
- http://www.zorba-xquery.com/modules/xqdoc
- http://www.zorba-xquery.com/modules/xqdoc2xhtml/error
- http://www.zorba-xquery.com/modules/store/static/collections/dml
- http://www.zorba-xquery.com/modules/store/static/collections/ddl
- http://www.zorba-xquery.com/modules/project_xqdoc
- http://www.zorba-xquery.com/modules/fetch
- http://expath.org/ns/file
Imported schemas:
Please note that the schemas are not automatically imported in the modules that import this module.
In order to import and use the schemas, please add:
import schema namespace xqdoc = "http://www.xqdoc.org/1.0"; import schema namespace output = "http://www.w3.org/2010/xslt-xquery-serialization";
an | http://www.zorba-xquery.com/annotations |
ddl | http://www.zorba-xquery.com/modules/store/static/collections/ddl |
dml | http://www.zorba-xquery.com/modules/store/static/collections/dml |
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 |
xqdoc2html | http://www.zorba-xquery.com/modules/xqdoc2xhtml/ |
z | http://www.zorba-xquery.com/manifest |
![]() |
copy-xhtml-requisites
(
$xhtmlRequisitesPath as xs:string,
$xqdocBuildPath as xs:string
) as empty-sequence() The function copies all the files under the following folders from $xhtmlRequisitesPath to $xqdocBuildPath/xhtml folder: schemas images java scripts css stylesheets templates xq. |
get-filename
(
$moduleURI as xs:string
) as xs:string Returns the string resulting from replacing the directory-separators (i. |
|
![]() |
main
(
$zorbaManifestPath as xs:string,
$xqdocBuildPath as xs:string,
$indexHtmlPath as xs:string,
$zorbaVersion as xs:string,
$xhtmlRequisitesPath as xs:string
) as empty-sequence() This function creates the XQDoc XMLs and from them the XQDoc XHTMLs. |
declare %an:sequential function xqdoc2html:copy-xhtml-requisites ( $xhtmlRequisitesPath as xs:string, $xqdocBuildPath as xs:string ) as empty-sequence()
The function copies all the files under the following folders from $xhtmlRequisitesPath to $xqdocBuildPath/xhtml folder:
- schemas
- images
- java scripts
- css stylesheets
- templates
- xq.src folders
- $xhtmlRequisitesPath the folder containing the images, lib, styles and templates folders.
- $xqdocBuildPath where to generate the XQDoc XML documents.
- Empty sequence.
declare function xqdoc2html:get-filename (
$moduleURI as xs:string
) as xs:string
Returns the string resulting from replacing the directory-separators (i.e. // ) with '_'
- $moduleURI the path to the module URI.
- the string resulting from replacing the directory-separators (i.e. // ) with '_'.
declare %an:sequential function xqdoc2html:main ( $zorbaManifestPath as xs:string, $xqdocBuildPath as xs:string, $indexHtmlPath as xs:string, $zorbaVersion as xs:string, $xhtmlRequisitesPath as xs:string ) as empty-sequence()
This function creates the XQDoc XMLs and from them the XQDoc XHTMLs.
- $zorbaManifestPath location of ZorbaManifest.xml.
- $xqdocBuildPath where to output the XQDoc XMLs and XHTMLs.
- $indexHtmlPath where to load the template for the index.html.
- $zorbaVersion Zorba version.
- $xhtmlRequisitesPath the path where the XHTML requisites are stored.
- Empty sequence.