The current syntax does not allow something like
<p:option name="opt-with-doc" as="document-node()" select=".">
<p:inline>
<div att="5" />
</p:inline>
</p:option>
The only way to assign a document as default value for an option is odd:
<p:option name="Rendering-XHTML" as="document-node()"
select="parse-xml('<div att="5" />') "/>
As this is already possible for p:variable and p:with-option, I think allowing a document binding for p:option would also feel natural.
The current syntax does not allow something like
The only way to assign a document as default value for an option is odd:
As this is already possible for p:variable and p:with-option, I think allowing a document binding for p:option would also feel natural.