[topbraid-users] Re: convert from xsd:string to rdf:XMLLiteral

2014-05-27 Thread Nicolae Marasoiu
Hi Scott, No, unfortunately this happens to me and an experienced colleague who just worked around it with xpath to avoid the impossible conversion. So I have an xsd:string stored in a ?xmlStringResult output variable from the PostRequest. I see the XML in debug, very well formed and including

[topbraid-users] Re: convert from xsd:string to rdf:XMLLiteral

2014-05-27 Thread Nicolae Marasoiu
Hi again, Yes, it works after removing the inner function. Directly binding an xsd:string to the rdf:XmlLiteral works indeed. Somehow, passing through ReturnXML node messed it up. Also my colleague said it does not work for him because he does not have ?.. antet. Thanks On Tuesday, May 27,

Re: [topbraid-users] Re: convert from xsd:string to rdf:XMLLiteral

2014-05-27 Thread Holger Knublauch
Yes just to confirm - SM functions embedded into SM scripts may either return a graph (sml:ReturnRDF) or a node (sml:ReturnNode). sml:ReturnXML is not supported in those cases. So maybe you are able to use sml:ReturnNode to return the XML nodes as a single string literal. Holger On