I don't know anything about coding but I can contribute to problem solving through brainstorming. i.e: this html example from Brave's AI assistant:
Attachment 61863
Especially if this part can be translated into xsl:
- Wrap each block element (e.g., paragraphs, headings, lists) within an <option> element. This will create a menu option for each block element.
- Ensure each <option> element has a value attribute containing a unique value for the corresponding block element. If no value attribute is included, the value defaults to the text contained inside the element.
https://www.w3schools.com/tags/tag_select.asp has some test codes to run.
# XSL version
"Choose" command is used in this, I imagine this can be added to the code to make the dropdown menu (if I understand the problem correctly) to have more blocks.
Attachment 61864
Hope this helps.

