| Hi Sanjeev, Adding ui:format="ui:TEXT" to the <ui:stringify> call should fix that. By default, stringify assumes HTML as output format, so it turns certain characters into HTML entities such as ™. These don’t work in XML. Now you might think that ui:format="ui:XML" would fix it, but that output format seems to be buggy in recent versions of TBC/EDG. But as long as you don’t have XML markup in the text that you want to stringify, ui:TEXT should work fine. Here is the SWP prototype I used to test this: <ui:group let:attrName="name" let:label="Test™" let:tagName="Continent"> <ui:bind> <ui:stringify ui:format="ui:TEXT" ui:varName="attrStr">{= ?attrName }="{= ?label }"</ui:stringify> <ui:parse ui:str="<{= ?tagName } {= ?attrStr }>{= ?label }</{= ?tagName }>" ui:xml="true"/> </ui:bind> </ui:group> Also attached as a file. Run by calling this URL: 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 [email protected]. For more options, visit https://groups.google.com/d/optout. |
xml-output-test.ui.ttlx
Description: Binary data
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 [email protected]. For more options, visit https://groups.google.com/d/optout. |
