html function
XFormsElement
html(
- XFormsElement head,
- XFormsElement body, {
- Map<
String, String> additionalNamespaces = const {},
The <h:html> root with the standard ODK namespaces plus any
additionalNamespaces (prefix → URI).
Implementation
XFormsElement html(
XFormsElement head,
XFormsElement body, {
Map<String, String> additionalNamespaces = const {},
}) {
final extra = additionalNamespaces.entries
.map((e) => ' xmlns:${e.key}="${e.value}"')
.join();
return t('h:html $_standardNamespaces$extra', [head, body]);
}