How to parse rmtl file

i want to convert rmtl file to vrscene material file,but i don’t know how to parse rmtl file.
how to parse rmtl file?

i want to convert rmtl file to vrscene material file,but i don’t know how to parse rmtl file.
how to parse rmtl file?

Open it up in a text editor, you’ll see it is XML.

how to parse it’s nodes?

Here is one way

https://jesterking.github.io/rhipy/inspect_rendermaterial_parameters.html