DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
320 stars 87 forks source link

Instructions for BaseX #349

Open kaluosi opened 3 years ago

kaluosi commented 3 years ago

Please, give some advice, instruction to use the plugin with BaseX. How to execute a script you are editing. Is it the same as Altova?

pjaskulski commented 2 years ago

Something like that (linux):

{
    "xmlTools.xqueryExecutionEngine": "/home/user/basex/bin/basex",
    "xmlTools.xqueryExecutionArguments": [
        "-o$(project)/output.xml",
        "$(script)"
    ]
}
Saya47 commented 1 year ago

Should use this file on Windows: "BaseX103\basex\bin\basex.bat"

The only issue is that if the path contains any white space it fails, and it's impossible to escape whites spaces with backslash.