> On 23 Aug 2018, at 07:26, Sanjeev Devireddy <devireddy.sanj...@gmail.com> > wrote: > > This is a bit tricky but it can be done with ui:parse. Here is an example: > > <ui:group let:tagName="Indian_Ocean"> > <ui:parse ui:xml="true" ui:str="<{= ?tagName }/>”/> > </ui:group> > > The ui:str argument must be a complete XML element, so if you want any > content inside <Indian_Ocean/>, then the start tag, content and end tag have > to be assembled into a single string variable that is then passed to ui:parse. > > > The above ui:parse element throws SAXParseException, The value of attribute > "ui:str" associated with an element type "ui:parse" must not contain the '<' > character. Could you please check? >
There is a mistake in my snippet. The closing double-quote of the ui:str attribute is a typographic quote: ” But it needs to be a straight quote: " (My email app has a tendency to replace straight quotes with typographic quotes, and I didn’t notice it happening here.) Richard -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.