lutaml / expressir

Ruby parser for the ISO EXPRESS language
3 stars 3 forks source link

Documentation: How to obtain EXPRESS schema version string #71

Closed ronaldtse closed 3 years ago

ronaldtse commented 3 years ago

Needed in https://github.com/metanorma/annotated-express/issues/22

e.g., need to fetch version string of schema { iso standard 10303 part(41) version(8) object(1) action-schema(1) } when given parsed schema action_schema

Schema:

SCHEMA action_schema '{iso standard 10303 part(41) version(8) object(1) action_schema(1)}';
zakjan commented 3 years ago

It is available in Schema.version

ronaldtse commented 3 years ago

@zakjan can you help add this in the README? Thanks.

zakjan commented 3 years ago

Created #72 for choosing a documentation approach for Express model classes.