Skip to content
Snippets Groups Projects

Develop

Merged Michelle Weidling requested to merge develop into main
3 files
+ 12
6
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -96,15 +96,15 @@ as element(svg:rect) {
declare function tapi-img:get-svg-section-dimensions-as-string($svg as element(svg:rect))
as xs:string {
let $x-offset := local:truncate($svg/@x)
let $y-offset := local:truncate($svg/@y)
let $width := local:truncate($svg/@width)
let $height := local:truncate($svg/@height)
let $x-offset := local:round($svg/@x)
let $y-offset := local:round($svg/@y)
let $width := local:round($svg/@width)
let $height := local:round($svg/@height)
return
string-join(($x-offset, $y-offset, $width, $height), ",")
};
declare function local:truncate($number-as-string as attribute())
declare function local:round($number-as-string as attribute())
as xs:string {
$number-as-string
=> substring-before("%")
Loading