Implemented XML Formatter and simplified structure of XML tools #229
Reference in New Issue
Block a user
No description provided.
Delete Branch "ref/simplify_xml_tools"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@@ -1,7 +1,5 @@declare namespace p="http://www.release11.com/person";declare namespace b="http://www.release11.com/book";declare namespace l="http://www.release11.com/library";declare default element namespace "http://www.tibco.com/schemas/Shemy4tools/Folder/Schema.xsd";Try to get rid of these "tibco" watermark
@@ -0,0 +8,4 @@const props = defineProps({prettyName: {type: String, required: true}prettifiedName, or something else.
Name imo should be more descriptive.
@@ -0,0 +2,4 @@const props = defineProps({xml: {type: String, required: true},isMinimizer: {type: Boolean}isMinimizer boolean it's good option, when we have only two options, but in future when we'll need to add another option like for example "removeNamespaces" we need refactor larger piece of code. I suggest to make prop "formatType", with type String.
Implemented first two of suggested, regarding third I think that it's not probable that we will need third mode in formatter component and until we do that this would be only made code less readable. Therefore I will not implement that for now.
WIP: Implemented XML Formatter and simplified structure of XML toolsto Implemented XML Formatter and simplified structure of XML tools