Hi Richard, The solution of using <ui:return> works. But, the end goal is to write the generated XML output to a local file. So, I created a SPARQLMotionscript with two stages CreateSWPDocument & ExportToXMLFile. The CreateSWPDocument has the code(this example refers to the Geography Taxonomy that comes by default with the TopBraid EDG application, with a recursive function, as like in previous example) to generate the XML output and the ExportToXMLFile writes the output to local folder. In this script, I again see that the special characters are not rendered properly in the process of writing the output to a local file. I added a third stage ExportToTextFile, just to see whether CreateSWPDocument is generating some output or not. Please find the attachment(testGeoScript.ttl) for the SPARQLMotion script file. Could you please suggest a solution for this?
Note: Regarding the global variable in a recursive function, for now it is working and yes, I need to change that code snippet. 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.
testGeoScript.ttl
Description: Binary data
