diff --git a/Frontend/assets/scripts/tools/xquery.js b/Frontend/assets/scripts/tools/xquery.js index 4e61cb1..ca74bce 100644 --- a/Frontend/assets/scripts/tools/xquery.js +++ b/Frontend/assets/scripts/tools/xquery.js @@ -1,26 +1,3 @@ -/** - * The `processTooltip()` function is responsible for updating the display of the tooltip based on the selected version of the processor. - * It shows or hides different sections of the tooltip based on the selected version. - * It also handles the click event on the form and updates the tooltip accordingly. - * - * @function - * @name processTooltip - * @kind function - */ -function processTooltip() { - - if (getProcessor() == "xalan" || getProcessor() == "libxml") { - document.getElementById("tooltipFunctionInfo").innerText = "XSLT 1.0 functions"; - document.getElementById("processorTooltipInfo").innerText = "Supports XSLT 1.0"; - hideList(document.getElementsByName("collapse30")); - } else { - document.getElementById("tooltipFunctionInfo").innerText = "XSLT 1.0, 2.0 & 3.0 functions"; - document.getElementById("processorTooltipInfo").innerText = "Supports XSLT up to 3.0"; - showList(document.getElementsByName("collapse30")); - } -} - - /** * This function is executed after the page is loaded. * @@ -45,8 +22,6 @@ function init() { if (targetID !== "processors" && targetID !== "xmlArea" && targetID !== "transformArea" && targetID !== "versions") { return; } - - processTooltip(); }) tool.addEventListener('change', event => { @@ -56,8 +31,6 @@ function init() { return; } - processTooltip(); - }) var triggerList = document.getElementsByClassName("collapseTrigger"); diff --git a/Frontend/tools/xquery.html b/Frontend/tools/xquery.html index 31c1c45..1d85ed6 100644 --- a/Frontend/tools/xquery.html +++ b/Frontend/tools/xquery.html @@ -28,11 +28,9 @@ - @@ -48,7 +46,7 @@ - procInfo
+ Supports XQuery up to 3.1

@@ -67,13 +65,13 @@ onclick="performRequest('xquery', true, true)">Execute XQuery
- +
-

What is XSLT?

+

What is XQuery?

TBD