Dear Scott,
I created the xsd schema: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http:// www.ontology.com/ontology"> <xs:simpleType name="adultAge"> <xs:restriction base="xs:integer"> <xs:minInclusive value="18"/> </xs:restriction> </xs:simpleType> </xs:schema> It selected the directory, imported the XSD, whereupon it says that 1 OWL file is created. However, I cannot find the class simpleType nor the property adultAge in the ontology with the same namespace. Where is it created? A big thanks! On Mar 1, 5:20 pm, Scott Henninger <[email protected]> wrote: > Christoph; You can insert the example into your XML file and open > with semantic XML. The defined type will be included as an instance > of the xsd:simpleType class. > > -- Scott > > On Mar 1, 6:15 am, Christoph <[email protected]> wrote: > > > > > Dear all, > > > I would like to define a datatype price (with a positive integer and a > > currency value). > > As far as I know, one has to use OWL1.1 for user-defined datatypes, > > which can be activated in Topbraid. > > How is it possible to import a XSD file that defines this datatype > > such as inhttp://www.w3.org/TR/swbp-xsch-datatypes/#example_1A? > > > This blog entry shows a user-defined datatype in > > Topbaidhttp://composing-the-semantic-web.blogspot.com/2007/02/owl-11-support... > > but it uses pre-defined OWL1.1 datatypes such as maxExclusive and > > minInclusive. Is it possible to use user-defined datatypes through > > importing XSD files? > > > Thanks a lot, > > Christoph- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. 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-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
