Skip to main content Skip to complementary content

Creating the map

Procedure

  1. In the Repository tree view, expand Metadata > Hierarchical Mapper, right click Maps, and then click New > Map.
  2. In the Select Type of New Map dialog box that opens, select Standard Map and then click Next.
  3. Give your new map a name, json2xml in this example, and then click Finish.
  4. Drag the gdelt-onerec structure you created earlier into both the Input and Output sides of the map.
  5. On the Output side of the map, change the representation used from JSON to XML by double-clicking Output (JSON) and selecting the XML output representation.
  6. Drag the Root element from the Input side of the map to the Root element on the Output side. This maps each element from the Input side with its corresponding element on the Outside side, which is a very simple map just for testing purposes.
  7. Press Ctrl+S to save your map.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!