If a table or view in your DB2® database is defined with one or more columns of data type XML, you can use the IBM® Data Designer to review the XML documents that are stored in rows of the table or view. You can review an XML document in source form or see its contents as a hierarchical grid. You can also transform an XML document and see the transformed data rendered in HTML.
After reviewing transformed XML data, you can print or copy its viewable data, export the viewable data to a spreadsheet application, or view the source text and save it to a file.
If you transform an XML document in the IBM Data Designer, the XML document remains in its original source form in the database. The XML data is transformed only when it is displayed in the HTML Visualizer window.
Requirement: The table or view must be defined with one or more columns of data type XML.
To review the XML data in a DB2 table or view:
The DB2 XML Designer window opens, with the Text View page showing the XML source document.
The HTML Visualizer window opens and displays the transformed XML document.
After you have reviewed the XML data in a column, you can import XML data to a cell in the result data grid, and update or delete the XML data that is displayed in a cell.
Managing XML Data | Importing XML Data to DB2 Tables and Views | Changing XML Data in DB2 Tables and Views | Deleting XML Data from DB2 Tables and Views