Category Archives: XML

The main topic of this blog.

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 »

SHA-1 collision: Use SHA-256 or SHA-512

      No Comments on SHA-1 collision: Use SHA-256 or SHA-512

Google has announced that they found a collision using two different documents which did generate the same SHA-1 hash value. You can read more about the details here: SHA-1 collision Glad that XML ValidatorBuddy supports SHA-256, SHA-384 and SHA-512 hash algorithms and you can use them to sign and verify your XML documents in a more secure way. Simply select any SHA-2 algorithm… 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 »

Integrate DITA Open Toolkit as external command

It is quite easy to use the DITA Open Toolkit from XML ValidatorBuddy as an external tool. The DITA standard is used to produce various output formats including HTML and PDF from XML. This usually happens with the help of Java and some ant tasks. To simplify the process the DITA Open Toolkit provides a batch task which only takes a… Read more »

Use XPath regular expressions to search in XML data

      No Comments on Use XPath regular expressions to search in XML data

The XML ValidatorBuddy editor provides a convenient search and replace window where you can quickly find any text in your XML or JSON data. But sometimes you want to have more control on where you are actually searching for a special string. Maybe you want to search only in XML attribute values or you want to get all elements with a… Read more »

How to debug Schematron validation

      No Comments on How to debug Schematron validation
How to debug Schematron

A Schematron validator is a powerful tool to run business rules for your XML data and to check conditions that are not supported using W3C schema. Schematron uses a lot of XPath and the validator is based on XSLT to apply all rules to the XML instance. But often it is not easy to debug a Schematron check if it does not work… Read more »

Transforming the XML validator batch log to HTML

      No Comments on Transforming the XML validator batch log to HTML

Having the results of the XML validator batch log output in XML format is nice but if you want to show the results to someone else you might prefer to use HTML. You can also publish the HTML documents automatically on your server and anyone who has access to the HTML can check the validation status of all XML data. XML… Read more »