Base uri
From LMNLWiki
[edit]
Base URI
[edit]
Description
A base URI is the location from which a document was loaded. It exists in the data model in the Document object, but currently has no syntactic representation.
[edit]
Use Cases
A LMNL application may use the baseURI of a document to help resolve relative references to external resources specified in the document. For example:
Some different text is inserted between here[external:doc [href}/otherdoc.lmnl{]] and here.
In the above example, an external document is referenced by /otherdoc.lmnl. This resource is relative to the baseURI of the LMNL document. If this document had been loaded from http://www.lmnl.org/examples then otherdoc.lmnl would be found at http://www.lmnl.org/examples/otherdoc.lmnl
Note that the external:doc syntax is just a hypothetical example.
