Hi Richard,
    Thanks for your response. In our example, first a list of XML tags (tag 
names are dynamic and with multiple attributes) are prepared by looping 
through a SPARQL result set and at the end, all these tags are added (as 
sub-tags) to a root tag, whose name is dynamic. My understanding is that 
the only way to create an XML tag with dynamic name is using ui:group & 
ui:parse as shown below. In this case, if all the sub tags are has to be 
passed as string to the ui:parse while preparing the root tag then the sub 
tags can't be converted to strings using the ui:format="ui:TEXT".
    With these limitations/issues, do you think that, if there are special 
characters (like Reinvention™, Gov’t) in the data then SPARQL Web Pages 
File(.swp) can't be used generate XML output in some TBC/EDG versions like 
6.1.1.v201812, which is mine?
    
    *Preparing a tag with dynamic name*
    <ui:group let:tagName="Indian_Ocean">
        <ui:parse ui:xml="true" ui:str="&lt;{= ?tagName }/&gt;"/>
    </ui:group>

Thanks,
Sanjeev

-- 
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.

Reply via email to