I have several models saved in an xmi format. And I need to read them from some application in rails. I don't need to build a model from de xmi file, I just need to read some values that the xmi file has. Any ideas?
Thanks in advance!
I have several models saved in an xmi format. And I need to read them from some application in rails. I don't need to build a model from de xmi file, I just need to read some values that the xmi file has. Any ideas?
Thanks in advance!
Read the file content and parse it at a hash:
This is just an example. All you need is the xml as a string and then you can use Hash.from_xml to parse it and work with it as a hash.