![]() |
| Previous Top Next |
Base URI |
The Base URI command pops up the Base URI dialog (screenshot below), in which you enter the base URI you wish the active document to have. The base URI is useful for resolving relative paths.

The base URI you submit is entered as the value of the xml:base attribute of the rdf:RDF element of the document. For example:
<rdf:RDF xml:base="http://www.altova.com/ontologies/Documents.rdf"/>
Note: By default, SemanticWorks considers the base URI as the URL of the document. This default URI is not explicitly serialized in the form of a value for the xml:base attribute. Even when the URI of the document is entered in the base URI dialog, it is not serialized in the RDF/XML if it corresponds to the URL of the document. Only a URI that is not the URL of the document is serialized.
For using the base URI with the Namespace Imports feature in order to import ontologies, see Usage Issues and Namespace Imports for RDF.
|