Basic XML processing with XPath
This workflow demonstrates basic xml processing using XPath.
This workflow demonstrates basic xml processing using XPath.
Demonstrates the usage of the XML nodes.
It reads from an XML file describing books that were written by or about George W. Bush. The books are categorized. The workflow extracts all information such as ISBN, author, title, etc. and groups the books by category. The output file is (again) an xml file but in a different format (grouped by year).
The challenge here is to blend together data in XML format with data in JSON format. We queried IBM Watson about news on Barack Obama and on Michelle Obama through a REST service API. Michelle Obama headlines are returned as JSON, while Barack Obama headlines are returned as XML. In this workflow the responses are read from an XML and a JSON file resp. Will they blend? ... and yes! They blend.