The Public Domain Codeware Schema

In order to support custom third party software integration, COMPRESS and INSPECT provide an XML (Extensible Markup Language) file export feature. XML is a more structured form of HTML that has become the language of choice for communication between computer programs.

There are numerous advantages to using this widely implemented vendor and system independent standard. An XML file is written in plain text so it is easy to read, understand and modify. It does not require the use of expensive proprietary software to access, just a plain text editor. Also, XML documents can be hierarchical. Along with the data there is also a link between components. A simple hierarchical example would be a nozzle on a cylinder:

COMPRESS and INSPECT Include an XML Data Export Feature

Protect Your Investment In Custom Software

Another benefit of XML is that it protects your investment in custom software because extensions to the Codeware XML schema (data structure) will not break software written using the previous schema.

NATCO Case Study

Find out how NATCO Group, Inc. successfully used the XML data generated by COMPRESS to create 3D models, drawings, schedules and parts lists.

Codeware XML Schema Export Details

COMPRESS and INSPECT export a large amount of information in XML for every vessel and exchanger, including:

  • Physical dimensions
  • Materials of construction
  • Design specifications
  • Component minimum thickness (tmin)
  • Calculated forces and moments
  • Component MAWP
  • Component weights

The specification for this file is the schema, a road map which enables you to extract desired information from the XML file for a particular vessel or exchanger. This enables you to manipulate the data for your own purposes, such as:

  • Developing company specific reports and mechanical calculations
  • Importing information directly into your costing system
  • Performing different weight calculations than those offered by COMPRESS
  • Performing Fitness for Service calculations using extracted minimum thickness (tmin)

Codeware hereby places the Codeware XML Schema for pressure vessels and heat exchangers which it has developed into the public domain. All parties are invited to use this schema for private and commercial purposes free of charge and are encouraged to be generous in sharing whatever they develop with the engineering community. Our belief is that by establishing a standard XML pressure vessel and heat exchanger schema, everyone will benefit.

Example Application

To illustrate how to apply XML technology we have provided an example application, XML Reader. XML Reader is a basic application that reads any output XML file (*.xml) created by COMPRESS and displays a comprehensive list of specific vessel data such as dimensions, design conditions, materials, etc. The XML Reader is meant for illustrative purposes only and Codeware assumes no liability and expresses no warranty in the use of this program.

Note 1:  To activate XML output from COMPRESS or INSPECT, check the box “Export to XML” located in Set Mode/Environment.  Output for vessels and exchangers will have the filename extension *.xml.  The schema is called PresureVessel.xsd and is in the directory where COMPRESS or INSPECT was installed.

Note 2:  If you receive the error “Run-time error ‘429’: Active X component can’t create object,” then the required Microsoft XML Parser is not installed.  View the Parser installation instructions.

Find Out More