Hi Oleksandr,

1) You could try writing the RDF/XML to a temporary file, and then reading that 
file as an XML file with ImportXMLFile.

2) You could try reading the XSLT with ImportXMLFile and passing the result as 
the template variable for ConvertXMLByXSLT.

Richard


> On 6 Apr 2017, at 07:03, Oleksandr Mandryk <[email protected]> wrote:
> 
> Hi,
> As a continuation of this topic 
> <https://groups.google.com/forum/#!topic/topbraid-users/nIbsRgX5IUQ> I'm 
> wondering which SPARQLMotion modules I have to use to build 
> a script that retrieves taxonomy, converts it to XML using RDFXML 
> serialization and then converts it to another XML using ConvertXMLByXSLT 
> module.
> 
> I've tried to do it like this:
>  
> <https://lh3.googleusercontent.com/-fkqNfvQRCL4/WOYfpsmc92I/AAAAAAAABCQ/1Yl96LaFFM8NcZ8QYHevTaMZ63IVgTdFwCLcB/s1600/ConvertXMLByXSLTExample.png>
> 
> but it doesn't work, because ConvertXMLByXSLT module throws an exception with 
> the message "Caused by: org.topbraid.spin.sparqlmotion.modules.SMException: 
> Expected XML value for variable xml"
> 
> So I have few questions:
> 
> 1) What I can use instead of ReturnRDF to apply RDFXML serialization and 
> return the result as a variable (that is needed for ConvertXMLByXSLT module)?
> 
> 2) Is it possible to use filename/filepath in the template property of 
> ConvertXMLByXSLT instead of putting whole schema to this property?
> 
> Thank you!
> 
> Best regards,
> Oleksandr Mandryk
> 
> -- 
> You received this message because you are subscribed to the Google Group 
> "TopBraid Suite Users", the topics of which include the TopBraid Suite family 
> of products and its base technologies such as SPARQLMotion, SPARQL Web Pages 
> and SPIN.
> To post to this group, send email to [email protected]
> --- 
> 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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Group 
"TopBraid Suite Users", the topics of which include the TopBraid Suite family 
of products and its base technologies such as SPARQLMotion, SPARQL Web Pages 
and SPIN.
To post to this group, send email to [email protected]
--- 
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