C.1. Defining Lifecycles Using XML

Engineering Knowledge Manager

Administration Guide | Appendix C. Lifecycles: Defining and Configuring Using XML |

Appendix C. Lifecycles: Defining and Configuring Using XML |  | C.1.1. Schema Definition for Lifecycles
Prev |  | Next

## C.1. Defining Lifecycles Using XML

This section describes how you can define a lifecycle file using XML constructs and syntax. Lifecycles that you define in XML must be saved with the `.lc.xml` file extension. When uploaded to a repository, the lifecycle XML file is typed as a Lifecycle object by EKM.

Lifecycle XML files are defined according to a XML Schema Definition file that describes the structure or "grammar" that the XML code must adhere to. Schema definitions provide the building blocks that will enable you to write valid XML files. lifecycle.xsd is supplied with your installation in the EKM_HOME/schema folder.

Important: EKM_HOME is the directory where the EKM server application is installed. This is typically `EKM_BASE/ekm-server`, where `EKM_BASE` is the EKM base directory.

This section and the proceeding sections assume that you have a basic understanding of XML constructs and syntax. If you are unfamiliar with these technologies, you will need to review them before proceeding. http://www.w3.org offers extensive tutorials and documentation. In particular, it is recommended that you review the documentation on XML schemas found at: http://www.w3.org/TR/xmlschema-0. While creating or editing XML files it is recommended that you use schema-aware XML editors. This will allow you to easily create configuration files that are syntactically correct and reduce the likelihood of errors.

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.