summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ontogen.py2
-rw-r--r--ontogen.template2
2 files changed, 2 insertions, 2 deletions
diff --git a/ontogen.py b/ontogen.py
index d43ed1b..ca1cd79 100644
--- a/ontogen.py
+++ b/ontogen.py
@@ -431,7 +431,7 @@ class PrependFigure(InheritDocstring):
try:
if all(map(lambda x: isinstance(x, basestring),
map(lambda x: getattr(ret, x, None),
- ('base', 'version'))
+ ('base_uri_full',))
)):
setattr(ret, 'examples', [ExampleSelfFigureProto(ret)]
+ list(getattr(ret, 'examples', ())))
diff --git a/ontogen.template b/ontogen.template
index a885b98..c1f94d0 100644
--- a/ontogen.template
+++ b/ontogen.template
@@ -5,7 +5,7 @@
Licensed under LGPL v2.1 (the same as original ns-schema.xsl)
-->
<rdf:RDF
- xml:base="${Ontology.base}"
+ xml:base="${Ontology.base_uri_full}"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"