-
-
-
-
+
+
+ setToDefaultXML(data)">
+
+
+
+ setToDefaultQuery(data)">
+
+
\ No newline at end of file
diff --git a/Frontend/src/components/xml/XmlInputFieldToolbarComponent.vue b/Frontend/src/components/xml/XmlInputFieldToolbarComponent.vue
new file mode 100644
index 0000000..bf40438
--- /dev/null
+++ b/Frontend/src/components/xml/XmlInputFieldToolbarComponent.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
{{ prettyName }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Frontend/src/components/xml/XmlOutputFieldComponent.vue b/Frontend/src/components/xml/XmlOutputFieldComponent.vue
new file mode 100644
index 0000000..6fceeb2
--- /dev/null
+++ b/Frontend/src/components/xml/XmlOutputFieldComponent.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
parseResult(data)">
+
+
+
+
\ No newline at end of file
diff --git a/Frontend/src/components/xml/XmlOutputFieldToolbarComponent.vue b/Frontend/src/components/xml/XmlOutputFieldToolbarComponent.vue
new file mode 100644
index 0000000..5db6734
--- /dev/null
+++ b/Frontend/src/components/xml/XmlOutputFieldToolbarComponent.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
Result:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Frontend/src/router/index.ts b/Frontend/src/router/index.ts
index 21f4c58..b935285 100644
--- a/Frontend/src/router/index.ts
+++ b/Frontend/src/router/index.ts
@@ -4,6 +4,9 @@ const landingPage = import("@views/LandingView.vue")
const restMock = import("@views/RestMockView.vue")
const xsltTool = import("@views/XSLTView.vue")
+const xsdTool = import("@views/XSDView.vue")
+const xpathTool = import("@views/XPathView.vue")
+const xqueryTool = import("@views/XQueryView.vue")
const routes = [
{
@@ -11,16 +14,26 @@ const routes = [
name: 'landing',
component: () => landingPage
},
+ {
+ path: '/xml/xpath',
+ name: 'xpath',
+ component: () => xpathTool
+ },
+ {
+ path: '/xml/xquery',
+ name: 'xquery',
+ component: () => xqueryTool
+ },
+ {
+ path: '/xml/xsd',
+ name: 'xsd',
+ component: () => xsdTool
+ },
{
path: '/xml/xslt',
name: 'xslt',
component: () => xsltTool
},
- {
- path: '/xml/xpath',
- name: 'xpath',
- component: () => restMock
- },
]
diff --git a/Frontend/src/style.css b/Frontend/src/style.css
index b5c61c9..f884ed7 100644
--- a/Frontend/src/style.css
+++ b/Frontend/src/style.css
@@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+
+.tool-button {
+ @apply py-1 px-4 rounded-full bg-gradient-to-r from-blue-300 to-sky-200 dark:text-white dark:from-sky-600 dark:to-sky-800 hover:bg-blue-400
+}
\ No newline at end of file
diff --git a/Frontend/src/views/XPathView.vue b/Frontend/src/views/XPathView.vue
new file mode 100644
index 0000000..20acd1f
--- /dev/null
+++ b/Frontend/src/views/XPathView.vue
@@ -0,0 +1,18 @@
+
+
+
+
+ {xml = data}" @update:transform="(data) => {query = data}">
+
+
+
+
\ No newline at end of file
diff --git a/Frontend/src/views/XQueryView.vue b/Frontend/src/views/XQueryView.vue
new file mode 100644
index 0000000..fe23239
--- /dev/null
+++ b/Frontend/src/views/XQueryView.vue
@@ -0,0 +1,18 @@
+
+
+
+
+ {xml = data}" @update:transform="(data) => {query = data}">
+
+
+
+
\ No newline at end of file
diff --git a/Frontend/src/views/XSDView.vue b/Frontend/src/views/XSDView.vue
new file mode 100644
index 0000000..94ba20d
--- /dev/null
+++ b/Frontend/src/views/XSDView.vue
@@ -0,0 +1,18 @@
+
+
+
+
+ {xml = data}" @update:transform="(data) => {query = data}">
+
+
+
+
\ No newline at end of file
diff --git a/Frontend/src/views/XSLTView.vue b/Frontend/src/views/XSLTView.vue
index fd6a98e..8c04245 100644
--- a/Frontend/src/views/XSLTView.vue
+++ b/Frontend/src/views/XSLTView.vue
@@ -1,15 +1,18 @@
-
+
+ {xml = data}" @update:transform="(data) => {query = data}">
-
-
+
+
\ No newline at end of file