Hi Tim,

On Apr 21, 2010, at 2:02 AM, Tim Darr wrote:

> Two questions:
> 1 - there seems to be a default HTML view definition for classes
> (basically a reproduction of the TBC form view). How is this
> overridden or changed?

the default renderings depend on which files you are importing. The intention 
is that the file tui.rdf contains the base default views, and I guess you have 
imported this somehow. Look at the class rdfs:Resource and its ui:instanceViews 
to see how this is configured. You can override this default behavior by 
defining your own instanceViews higher up the class hierarchy (e.g. at 
owl:Thing?).


> 2 - is it possible to generate the HTML documentation for an ontology
> for the purpose of distributing the documentation to others? I'd like
> to be able to ZIP up an HTML root and send it to others.

Sure, using SPARQLMotion you can define batch operations like that. Check 
previous messages here in this list for the function ui:getUIHTML(?resource), 
the result of which you can write to files. Redirecting hyperlinks in the 
generated pages is not yet possible in 3.3.0 but will be in future versions. 
Meanwhile you would need to change the tui:Link element in the tui.rdf file.

Holger

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