public static void showVersion(XProcRuntime runtime) { System.out.println("XML Calabash version " + XProcConstants.XPROC_VERSION + ", an XProc processor."); if (runtime != null) { System.out.print("Running on Saxon version "); System.out.print(runtime.getConfiguration().getProcessor().getSaxonProductVersion()); System.out.print(", "); System.out.print(runtime.getConfiguration().getProcessor().getUnderlyingConfiguration().getEditionCode()); System.out.println(" edition."); } System.out.println("Copyright (c) 2007-2013 Norman Walsh"); System.out.println("See docs/notices/NOTICES in the distribution for licensing"); System.out.println("See also http://xmlcalabash.com/ for more information"); System.out.println(""); }
public String getProductVersion() { String sver = processor.getSaxonProductVersion(); String sed = processor.getUnderlyingConfiguration().getEditionCode(); return XProcConstants.XPROC_VERSION + " (for Saxon " + sver + "/" + sed + ")"; }
public String getProductVersion() { String sver = processor.getSaxonProductVersion(); String sed = processor.getUnderlyingConfiguration().getEditionCode(); return XProcConstants.XPROC_VERSION + " (for Saxon " + sver + "/" + sed + ")"; }
public static void showVersion(XProcRuntime runtime) { System.out.println("XML Calabash version " + XProcConstants.XPROC_VERSION + ", an XProc processor."); if (runtime != null) { System.out.print("Running on Saxon version "); System.out.print(runtime.getConfiguration().getProcessor().getSaxonProductVersion()); System.out.print(", "); System.out.print(runtime.getConfiguration().getProcessor().getUnderlyingConfiguration().getEditionCode()); System.out.println(" edition."); } System.out.println("Copyright (c) 2007-2013 Norman Walsh"); System.out.println("See docs/notices/NOTICES in the distribution for licensing"); System.out.println("See also http://xmlcalabash.com/ for more information"); System.out.println(""); }
return runtime.getHtmlSerializer() ? "true" : "false"; } else if ("saxon-version".equals(local)) { return runtime.getConfiguration().getProcessor().getSaxonProductVersion(); } else if ("saxon-edition".equals(local)) { return runtime.getConfiguration().saxonProcessor;
return runtime.getHtmlSerializer() ? "true" : "false"; } else if ("saxon-version".equals(local)) { return runtime.getConfiguration().getProcessor().getSaxonProductVersion(); } else if ("saxon-edition".equals(local)) { return runtime.getConfiguration().saxonProcessor;
tree.addText(getConfiguration().getProcessor().getSaxonProductVersion()); tree.addEndElement();
tree.addText(getConfiguration().getProcessor().getSaxonProductVersion()); tree.addEndElement();