Hi all, I was just wondering what is the most straightforward way to create an element whose name is generated dynamically. The simplest solution I managed to come up with is this: <p:rename> <p:input port="source"> <p:inline><foo/></p:inline> </p:input> <p:with-option name="new-value" select="..."/> </p:rename> To me, this seems both elegant ("Nice, I can use p:rename for that") and confusing at the same time ("Why do I have to use p:rename for *creating* content!?")... What is your opinion on this? Is it OK, or should the spec provide some functionality specifically for these types of use cases (by adding a new step, or by extending the functionality of the existing steps, ...)? Regards, VojtechReceived on Monday, 3 November 2008 12:16:07 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 3 November 2008 12:16:07 GMT