However, after parsing the returned result seems to be incompatible with org.w3c.dom.css API. Since many projects already use this API, do you plan to support it?
best,
mercury
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
actually, jStyleParser was created because I found the DOM CSS API too generic and not efficient for Java applications. For example, you obtain most of the property values as strings and you have to parse them (e.g. lengths, colors, etc.) Since there are many issues to be solved in jStyleParser (e.g. more CSS3 support, etc.) I will be probably not able to implement the DOM CSS support myself in a near future. However, if someone contributed an optional support for the DOM CSS API, I would include it in jStyleParser with pleasure because it might be useful for more projects as you mention.
Regards
Radek
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Thanks for creating this project.
However, after parsing the returned result seems to be incompatible with org.w3c.dom.css API. Since many projects already use this API, do you plan to support it?
best,
mercury
Hello,
actually, jStyleParser was created because I found the DOM CSS API too generic and not efficient for Java applications. For example, you obtain most of the property values as strings and you have to parse them (e.g. lengths, colors, etc.) Since there are many issues to be solved in jStyleParser (e.g. more CSS3 support, etc.) I will be probably not able to implement the DOM CSS support myself in a near future. However, if someone contributed an optional support for the DOM CSS API, I would include it in jStyleParser with pleasure because it might be useful for more projects as you mention.
Regards
Radek
Hi again,
We have now open-sourced our implementation here:
https://github.com/UprootLabs/jStyleDomBridge
cheers!
Many thanks for your work. I have placed a link to the jStyleParser web (documentation) as well.