elifesciences/lens

export modified JSON as XML

Closed this issue · 6 comments

Is there a way to export the modified JSON as a genetics XML using this library?

gnott commented

Are there more details you could provide? I have a feeling Lens does not do this already.

I agree that I don't think it does either.

The goal would be to have it take the imported JSON / Article object, make modifications to it (e.g,. insert link data) and then re-export the XML into the original format with those modifications.

I think we can hack around that, but was unsure if there was a better approach.

gnott commented

Exporting the JSON to XML was a feature that did not get implemented I believe, although the possibility to do it was raised before. It might be something in line with the Texture project https://github.com/substance/texture where you might want to ask there too.

That looks like it will work. Thanks.