diff --git a/modules/search.xqm b/modules/search.xqm index ed67a4acc..721efbe1f 100644 --- a/modules/search.xqm +++ b/modules/search.xqm @@ -160,6 +160,48 @@ function search:section-checkbox-value-attribute-and-title($node, $model, $withi ) }; +(:~ + : Generates HTML attributes "value" and "id" + : @return HTML attributes +~:) +declare + %templates:wrap +function search:section-input-attributes($node, $model) { + let $section-id := $model?section/id + return + ( + attribute value { $section-id }, + attribute id { $section-id } + ) +}; + + + +(:~ + : Generates an HTML