Hi Brice, I am not aware of a completely built-in solution to your task, but TopBraid has several technologies that might be of help.
First, you can generate arbitrary text documents (including XMLs) using our JSP support (sml:CreateTextFromJSP). Depending on the topography of your XML file this might be OK. Starting with TopBraid 3.4 you can also use UISPIN for the same task, in a more RDF-friendly way. Second, we have a technology called Semantic XML built into TopBraid in various places. The idea here is that you would create RDF/OWL classes for the XML elements, and RDF/OWL properties for the XML attributes. You can then use SPARQL CONSTRUCT queries (and other mechanisms) to instantiate those XML-mapped RDF classes. With neither of those mechanisms, any DTD validation or generation would be done, but there are 3rd party tools for that. With the Semantic XML approach you can start with an XSD file and use the XML Schema importer to create starter ontologies (with an option to make them in the right Semantic XML format). Then, when you create those instances, the resulting triples will likely map to XML Schema. Not sure if this response is detailed enough to get you started - please ask with an example XML snippet to get some more specific ideas. Regards, Holger On Jun 21, 2010, at 6:17 PM, Brice Sommacal wrote: > Hello, > > I'm a newbie using TopBraid Composer Maestro; and I would like to have some > advices on what I would like to make. > > I have created an ontology from an existing file (RFD/XML). > Once I made a SparQL query (with SparQL Motion Script), I want to export the > results in a XML format. > > THe XML have to respect a DTD. > > Is there possible to map the output results to a specific DTD? > That is to say: > - the instances of class C correspond to a XML tag <data>. > - the instances from property P correspond to a tag <sub-data> > > Thanks for sharing your mind, > > Regards, > > > Brice Sommacal > > -- > You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include TopBraid Composer, > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/topbraid-users?hl=en -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
