Hello, I've recently published a draft version of a Jackrabbit contribution on GitHub, wrapping JCR entities into DOM types in order to be able to leverage higher-level XML APIs such as XPath, XSLT, JAXB and third-party tools built on top of DOM, such as jOOX for instance. The draft implementation and examples can be seen here: https://github.com/lukaseder/jcr-stuff
While I think that this contribution should go into Jackrabbit, I was generally wondering if Sling users might find it useful if Sling provided an out-of-the-box support for XSL transformation, similar to how HTML and JSON "transformation" currently works. In other words: - /path/to/content.html uses a JSP to generate HTML output - /path/to/content.json uses a servlet to generate JSON output - /path/to/content.xml could use an XSL file to generate XML output Even with JSON becoming more and more popular in web development, many people still take advantage of XML's wide applicability and the fact that XML, XSL and associated standards are open W3C standards. Supporting XSLT out of the box in Sling seems like an interesting option to me, which aligns very well with Sling's way of thinking, providing powerful means of resource management along with resource rendering. Please let me know what you think, and feel free to also join the discussion on the Jackrabbit user group: http://mail-archives.apache.org/mod_mbox/jackrabbit-users/201304.mbox/%3ccab4elo4st_jut2egvs+j9nejn5tu1vam9rnpwtw7rmaldd3...@mail.gmail.com%3e Cheers Lukas
