Skip to content

Allow p:inline etc. for p:option #70

Description

@xml-project

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('&lt;div att=&quot;5&quot; /&gt;') "/>

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions