Tag Archives: XML

How to convert Excel or Word to JSON

      No Comments on How to convert Excel or Word to JSON

XML ValidatorBuddy allows to easily convert XML to JSON (you can learn more about this functionality here: XML to JSON conversions). Modern documents saved from Word or Excel are created as archives containing XML documents with the actual content. This means you can extract all of the documents from the archive and open them using XML ValidatorBuddy. As a first… Read more »

Support tales: Enable the “Configure batch task” command

One issue I have is the ‘Configure and run batch task’ is greyed out. Do I need to do anything to enable it? I have a batch XML settings file from my old laptop I want to load and test, but the option is greyed out. Sometimes people ask me how to enable the “Configure and run batch task” command… Read more »

Sign and verify XML digital signatures from the command-line

The XML ValidatorBuddy software package also includes a command line tool. The name of the executable is “valbuddy.exe” and the tool is also located in the standard installation folder of XML ValidatorBuddy. This command-line tool also supports sign and verify operations for multiple XML documents as a batch task. A sample settings XML to run a sign task would be: <?xml… Read more »

Convert JSON to XML from the command line

      No Comments on Convert JSON to XML from the command line

You can use the command-line tool included in the XML ValidatorBuddy package to convert JSON to XML. This allows you to quickly convert any number of JSON files and also to create a scheduled task which runs as a batch process (on your server). As usual the command-line tool needs a configuration XML to run the conversion. You can specify… Read more »

Call XML validator for all *.xml files in folder

      No Comments on Call XML validator for all *.xml files in folder

I played around with the freeware AutoIt to create some scripts for XML Validator Buddy to automate certain validator tasks. As a first idea I wanted to call the XML validator for all files with *.xml as extension clicking a single button. The following steps are required: I had to fill the find field with “*.xml”. Send ENTER to the… Read more »

Editor and validator for large XML

      No Comments on Editor and validator for large XML

Here are some figures to show how fast you can open and inspect huge XML data in XML Validator Buddy. We are using the massachusetts.osm (OpenStreetMap data) XML document which has a size of 2.5 GB and about 39 million lines of text. In XML ValidatorBuddy you can open it in the Large File Viewer window in 34s. You can do a complete… Read more »

XML – JSON converter

      No Comments on XML – JSON converter
XML to JSON options dialog

Starting with release 4.0 of XML ValidatorBuddy the editor also offers an XML to JSON converter. You can do conversions from XML to JSON and also from JSON to XML with a single click. To convert multiple XML files use the built-in File Explorer window and select the documents you want to convert. Afterwards start the conversion with the “Convert XML to JSON” command… Read more »

Custom XML validation and targetNamespace

      No Comments on Custom XML validation and targetNamespace

This post explains how to run the XML validator to use a specific schema in XML ValidatorBuddy to check XML. If you use the “Validate against a specific Schema…” functionality of XML ValidatorBuddy the editor looks for a schemaLocation or noNamespaceSchemaLocation attribute in the XML instance file. The validator also checks the selected schema if any targetNamespace is defined. If a schemaLocation or noNamespaceSchemaLocation… Read more »