Paul; The sml:ExportToXMLFile does XML validation before writing.  Can
you try just exporting the text file?

-- Scott

On Dec 17, 9:50 am, PaulZH <[email protected]> wrote:
> I have a script in which I (sml:IterateOverSelect) iterate over
> instances.
> At the end of the iteration I do a conversion from RDF/XML to HTML
> using XSLT and save this file to the filesystem.
> The strange thing is that this saving to the filesystem takes about 2
> minutes.
>
> Some info from the console:
> 18:28:16.642:   - Import sesame remote repository
> 18:28:16.647:   - Apply OWLIM
> 18:30:05.584:   - Iterate over Instances
> 18:30:05.595:     - Import HTML XSLT
> 18:30:05.707:     - Apply 2 Instances
> 18:30:05.726:     - Apply for n3
> 18:30:05.733:     - Export 2 local n3
> 18:30:06.198:     - Filter n3 by construct
> 18:30:06.205:     - Apply for RDF
> 18:30:06.209:     - Export 2 local RDF
> 18:30:06.229:     - Import RDF File
> 18:30:06.259:     - Import Grit XSLT
> 18:30:06.296:     - Convert Instance By Grit XSLT
> 18:30:06.390:     - Convert Instance By HTML XSLT
> 18:30:06.499:     - Export to HTML
> --- START SECOND ITERATION --
> 18:32:40.052:     - Import HTML XSLT
> 18:32:40.077:     - Apply 2 Instances
> 18:32:40.086:     - Apply for n3
> 18:32:40.090:     - Export 2 local n3
> 18:32:40.093:     - Filter n3 by construct
> 18:32:40.098:     - Apply for RDF
> 18:32:40.102:     - Export 2 local RDF
> 18:32:40.107:     - Import RDF File
> 18:32:40.113:     - Import Grit XSLT
> 18:32:40.135:     - Convert Instance By Grit XSLT
> 18:32:40.196:     - Convert Instance By HTML XSLT
> 18:32:40.304:     - Export to HTML
> 18:34:43.369: Finished executing SPARQLMotion script.
>
> On the file system itself the html file appears 2 minutes after the
> rdf from which it is derived.
> Size of the generated html is 12 to 13 Kb.
>
> The definition of this module is:
> :ExportToHTML
>       a       sml:ExportToXMLFile ;
>       rdfs:label "Export to HTML"^^xsd:string ;
>       sm:nodeX -65 ;
>       sm:nodeY 1809 ;
>       sml:replace "true"^^xsd:boolean ;
>       sml:targetFilePath "out/{?prefix}/{?label}.html"^^xsd:string ;
>       sml:xml "{?html}"^^rdf:XMLLiteral .
>
> Any suggestion why this takes so long and how to remedy this?

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

Reply via email to