Generate object model out of RelaxNG schema with RNGOM - how to start?

后端 未结 2 1200
你的背包
你的背包 2020-12-31 23:31

I want to generate an object model out of an RelaxNG Schema.

Therefore I want to use the RNGOM Object Model/Parser (mainly because I could not find any alternative -

2条回答
  •  一向
    一向 (楼主)
    2021-01-01 00:06

    A way to proceed could be to :

    1. use jing to convert from Relax NG to XML Schema (see here)
    2. use more common tools to generate classes (e.g. JaxB).

提交回复
热议问题