XSLT now gets correct version selected
This commit is contained in:
@@ -41,7 +41,7 @@ function changeAvailableVersions() {
|
||||
if (props.tool == "xquery")
|
||||
versionsForCurrentEngine.value = ["3.1"];
|
||||
else if (props.tool == "xslt")
|
||||
versionsForCurrentEngine.value = ["3.0"];
|
||||
changeAvailableVersionsOfXSLT();
|
||||
else if (props.tool == "xsd")
|
||||
versionsForCurrentEngine.value = ["N/A"];
|
||||
else if (props.tool == "xpath")
|
||||
@@ -50,6 +50,13 @@ function changeAvailableVersions() {
|
||||
selectDefaultVersion();
|
||||
}
|
||||
|
||||
function changeAvailableVersionsOfXSLT() {
|
||||
if(engine.value == "saxon")
|
||||
versionsForCurrentEngine.value = ["3.0"];
|
||||
else
|
||||
versionsForCurrentEngine.value = ["1.0"];
|
||||
}
|
||||
|
||||
function changeAvailableVersionsOfXPath() {
|
||||
if(engine.value == "xalan" || engine.value == "libxml")
|
||||
versionsForCurrentEngine.value = ["1.0"];
|
||||
|
||||
Reference in New Issue
Block a user