Skip to content
Permalink
Browse files
Added support for cx:saxon-version and cx:saxon-edition system proper…
…ties
  • Loading branch information
ndw committed Dec 8, 2011
1 parent 5d4f86b commit 4c8879e628cf883cae1eebac58dbcd12ff85de12
Showing 1 changed file with 4 additions and 0 deletions.
@@ -128,6 +128,10 @@ public SequenceIterator call(SequenceIterator[] arguments, XPathContext context)
value = runtime.getAllowGeneralExpressions() ? "true" : "false";
} else if ("xpointer-on-text".equals(local)) {
value = runtime.getAllowXPointerOnText() ? "true" : "false";
} else if ("saxon-version".equals(local)) {
value = runtime.getConfiguration().getProcessor().getSaxonProductVersion();
} else if ("saxon-edition".equals(local)) {
value = runtime.getConfiguration().saxonProcessor;
}
}

0 comments on commit 4c8879e

Please sign in to comment.