-
Notifications
You must be signed in to change notification settings - Fork 88
Extension Settings
-
xmlTools.persistXPathQuery
: Whentrue
, the extension will remember the last XPath query used for a given document. If a folder is not opened in VS Code, the last XPath used since the extension was last activated will be used. -
xmlTools.removeCommentsOnMinify
: Whentrue
, XML comments will be stripped when using theXML Tools: Minify XML
command. -
xmlTools.splitXmlnsOnFormat
: Whentrue
, XML namespace declarations will be placed on new lines when using theFormat Code
command. -
xmlTools.xqueryExecutionEngine
: The full path to the executable that should be used to execute XQuery scripts. This extension is tested on Windows with the AltovaXML 2008 engine. -
xmlTools.xqueryExecutionArguments
: An array of strings to use as command line arguments for the XQuery execution engine. There are special variables that may be used in these strings:-
$(script)
: The full path to the XQuery script being executed. -
$(input)
: The full path to the input XML file. -
$(project)
: The full path to the current workspace/project folder.
-
-
xmlTools.ignoreDefaultNamespace
: Whentrue
, the default XML namespace will be ignored when evaluating XPaths.
{
// -------- XML Tools Configuration --------
"xmlTools.persistXPathQuery": true,
"xmlTools.removeCommentsOnMinify": false,
"xmlTools.splitXmlnsOnFormat": true,
"xmlTools.xqueryExecutionEngine": "",
"xmlTools.xqueryExecutionArguments": [
"-xquery",
"$(script)",
"-in",
"$(input)",
"-out",
"$(input).output.xml"
],
"xmlTools.ignoreDefaultNamespace": true
}
Copyright © 2016 - Josh Johnson