Functions/Templates List

Templates

void generatePages (param: element() config) - source
Generates each page given in the config parameter
element()* buildStylesheetPagelist (param: xs:string stylesheetUrixs:string rootUrixs:string targetUri) - source
Builds a list of all stylesheet files by following the include and import links in each stylesheet
extractShortDescription (param: string doc) - source
Extracts the short description from a xd:doc element
extractDetailDescription (param: string doc) - source
Extracts the detail description from string
printTemplateDeclaration (param: node-set docnode-set template) - source
Prints the short form of the declaration of a template
getGeneratedId (param: nametypemodestylesheet-prefixresult-prefix) - source
No short description available
find-last-line (param: text) - source
No short description available
No short description available
No short description available
html-replace-entities (param: textattrs) - source
No short description available
replace-substring (param: valuefromto) - source
No short description available
preformatted-output (param: text) - source
No short description available
output-nl (param: text) - source
No short description available

Functions

element(xd:doc)? xd:getDoc (param: element(*) element) - source
Returns the xd:doc node of an element.
element(xd:doc)* xd:getModeDoc (param: element(*) elementmode) - source
Returns the xd:doc nodes for the mode(s) of a template.
xd:printParamDeclaration (param: paramdoc) - source
xd:printAttribute (param: att) - source
No short description available
No short description available
xd:printMode (param: element(*) rootmode) - source
No short description available
xd:printMatchTemplate (param: template) - source
No short description available
xs:string* xd:getModes (param: element(*) element) - source
Returns a sequence of names of modes in a stylesheet.
xs:string* xd:splitWhitespaceString (param: xs:string? string) - source
Splits a whitespace-separated string into a sequence.
xs:string xd:decToBase (param: xs:integer decxs:string* digits) - source
Converts a decimal number to a string with another numeric base, given the set of digits.
element(xsl:template)* xd:getTemplatesByMode (param: element(*) elementxs:string mode) - source
Returns a sequence of templates using a given mode in a stylesheet.
xs:boolean xd:accessMatch (param: element(*)? element) - source
Determines if an element satisfies the access level specified for the documentation generation.
util:getFolder (param: xs:string uri) - source
Extracts the folder part of an URI
util:getFile (param: xs:string uri) - source
Extracts the filename of an URI
util:getSharedPath (param: xs:string folder1xs:string folder2) - source
Get the shared path of two folders
util:pathToUri (param: xs:string path) - source
Transforms a filesystem path to a URI.
util:normalizeUri (param: xs:string uri) - source
Replaces triple slashes '///' by a single slash
xs:boolean util:isAbsolutePath (param: xs:string path) - source
Tests if a the given path describes an absolute path
util:normalizeFolder (param: xs:string uri) - source
If the uri does not end with a slash, a slash is added at the end.
util:getRelativeUri (param: xs:string fromxs:string to) - source
Returns the relative link of a given folder resolved to another folder
util:getRelativeUriFiles (param: xs:string fromxs:string toxs:boolean reverse) - source
Builds realive link between to files
util:substringAfterLast (param: texttoken) - source
Returns the string after the last occurence of a given character
util:fileSuffixToHtml (param: fileUri) - source
element() util:appendElement (param: element() containerelement() element) - source
Appends an element to another element
util:repeatString (param: string textint count) - source
Repeats a string several times
util:stripXML (param: nodes) - source
Strips all xml elements and comments from a set of nodes and returns only the text nodes
util:xmlToString (param: item()* xml) - source
Transforms an XML structure to a plain string
item()* util:xmlToHtml (param: item()* xml) - source
No short description available
util:removeTextIndent (param: string text) - source
Removes all indentation from each line of a text
util:removeTextIndent (param: string textstring indent) - source
Removes specific indentation from each line of a text
util:indentText (param: string textstring indent) - source
Adds indentation to each line of a text
util:indentText (param: string textstring indentboolean indentFirstLine) - source
Adds indentation to each line of a text