Closed ghost closed 4 years ago
Hi sun, thanks a lot for the issue, this looks like a really nice solution for local viewing of odML files.
We will check the approach and see if we can include it in the next release.
Hey all,
I was just discussing this issue with @sunfzjuelich, @JuliaSprenger and @mdenker beacuse it would be really cool to have a locally viewable file directly coming out from odml!
A solution similar to the way @sunfzjuelich integrated the stylesheet in odml would be perfect for me, since I am working on a data publication that is in its final stages. It would be really helpful to have odml metadata to be viewable in any browser for the publication. It would make odml so much more useful for our target audience (who are potentially windows/mac based and not too keen on python).
All best, Aitor
@sunfzjuelich, @morales-gregorio, I just finished implementing a prototype but am still working out the kinks. I'll try to release a version until the end of the week.
Sounds awesome! :)
@sunfzjuelich @morales-gregorio I just released a new odml version on PyPI containing the inline style option.
Just tried it and it works like a charm! From my side this solves the issue. Thanks a lot!
OK, then I close this issue.
Thanks!
Dear Sie/Madame:
I am an employee at INM-6, Forschungszentrum Jülich. We use
odml
schema for data description.I am writing to you to propose a method for rendering locally stored
odml
file, with inline style.The problem is, locally stored
odml
files can not be rendered properly any more in new version of common browser softwares with the externalodml.xsl
. However they can be rendered using inline style. I tested it and it works fine.The inline style sheet integration can be done like:
This kind of inline styled
odml
files work directly in Firefox. For Chrome"application/xml"
must be registered in Mime-type database for.odml
extension.Best regards, Sun