Implemented XML Formatter and simplified structure of XML tools #229

Merged
bema merged 33 commits from ref/simplify_xml_tools into master 2023-06-21 14:32:02 +02:00
Showing only changes of commit aacdaa4f90 - Show all commits

View File

@@ -17,6 +17,9 @@ const emit = defineEmits(['update:defaultData'])
function setDefault() {
const emitName = "update:defaultData";
switch (props.prettyName.toLowerCase()) {
case "json":
emit(emitName, "{'message': 'Here we have to add some proper message', 'answer': 'Ya, definitely'}")
break;
case "xpath":
emit(emitName, "/root/UserList/User[../NameList = 'FirstList']")
break;