Trackaufzeichnung [Maps3D 2021-07-04 16-38pm] vom 04.07.2021
13:31:20 16:33:20
BaseX - XML-Datenbankanwendung
Das ist nur ein Test.
Track Details
Datum, Zeit, Dauer
Datum der Aufzeichnung 04.07.2021
Start der Aufzeichnung 13:31
Ende der Aufzeichnung 16:33
Dauer der Aufzeichnung 3h,2min
davon Fahrzeit 1h,57min
Pausen, sonstiges 1h,5min
Geschwindigkeiten, Entfernungen
Anzahl Wegpunkte (Aufzeichnung) 543
kleinste Geschwindigkeit 0.11
höchste Geschwindigkeit 27.22
duchschnittliche Geschwindigkeit 16.22
Aufgezeichnete Streckenlänge 58.87
The Making-Of
Module Name: funcs.xqm
HTML Creation and Mangement Functions
Variables
| name | uri | type | occurrence | external | description |
|---|---|---|---|---|---|
| html-funcs:env | ownfuncs.html.funcs | item() | * | false |
Variables derived from $html-funcs:settings
|
| name | uri | type | occurrence | external | description |
|---|---|---|---|---|---|
| html-funcs:settings | ownfuncs.html.funcs | item() | * | false |
Module global Settings
|
| name | uri | type | external | description |
|---|---|---|---|---|
| html-funcs:skip-default | ownfuncs.html.funcs | xs:string | false |
Functions
html-funcs:bt-accordion-panel
Generates a Bootstrap Accordion-Panel
| name | type | occurrence | description |
|---|---|---|---|
| parent-id | xs:string |
(Container)
|
|
| heading | xs:string |
The Panel Label
|
|
| body-content | node() | * |
The Panel Content
|
| item() | * |
The Panel
|
html-funcs:clean-html
| name | type | occurrence | description |
|---|---|---|---|
| node | item() | * | |
| skip-nodes | item() | * | |
| skip-attr | item() | * | |
| item() | * |
html-funcs:copy-attributes
| name | type | occurrence | description |
|---|---|---|---|
| attribute | item() | * | |
| skip | item() | * | |
| item() | * |
html-funcs:generate-html
| name | type | occurrence | description |
|---|---|---|---|
| node | item() | * | |
| templates | item() | * | |
| item() | * |
html-funcs:get-body-script
| name | type | occurrence | description |
|---|---|---|---|
| page-name | item() | * | |
| node() | * |
html-funcs:get-container-content
| name | type | occurrence | description |
|---|---|---|---|
| page-name | item() | * | |
| node() | * |
html-funcs:get-description-element
| name | type | occurrence | description |
|---|---|---|---|
| element-name | item() | * | |
| node() | * |
html-funcs:get-meta-tags
| name | type | occurrence | description |
|---|---|---|---|
| page-name | item() | * | |
| node() | * |
html-funcs:insert-after-node
| name | type | occurrence | description |
|---|---|---|---|
| xml | item() | * | |
| context | item() | * | |
| node | item() | * | |
| item() | * |
html-funcs:insert-node
| name | type | occurrence | description |
|---|---|---|---|
| xml | item() | * | |
| context | item() | * | |
| node | item() | * | |
| item() | * |
html-funcs:prepare-templates
| name | type | occurrence | description |
|---|---|---|---|
| this-page | item() | * | |
| item() | * |
html-funcs:replace-node
Replace node in HTML using Context by $node Example: $context = ('div','class','row',1) replace $x//div[class="row"][1]
| name | type | occurrence | description |
|---|---|---|---|
| xml | item() | * |
complete Content
|
| context | item() | * |
see Example
|
| node | item() | * |
the new Content
|
| item() | * |
complete Content (changed, if Possible)
|
html-funcs:save-html
| name | type | occurrence | description |
|---|---|---|---|
| path | item() | * | |
| html | item() | * | |
| item() | * |
html-funcs:soft-hypen-para
Recursively calls the function 'local:soft-hypen-string' for every word (all characters between spaces) in '$para' and returns the words (with / without '­') combined.
| name | type | occurrence | description |
|---|---|---|---|
| para | item() | * |
At the beginning the entire string, under the recursion the unprocessed remainder of the same.
|
| res | item() | * |
'$res' for result. The edited words (see local: soft-hypen-string).
|
| item() | * |
The edited input ($para) as a string.
|
html-funcs:soft-hypen-string
According to 'Duden' - see (https://www.duden.de/sprachwissen/sprachratgeber/Durchschnittliche-Lange-eines-deutschen-Wortes) "[includes] a word in Spelling Duden ~ on average 10.6 letters". 20 letters per word is relatively common. Therefore, the function inserts a conditional separator (­) after every 20th letter. See also local:soft-hypen-para
| name | type | occurrence | description |
|---|---|---|---|
| str | item() | * |
Input
|
| item() | * |
String with / without ­
|