Hi Julian,

On Mon, Jun 29, 2020 at 6:37 PM Julian Reschke <resc...@apache.org> wrote:
> ...I was pointed
> to <https://github.com/apache/sling-org-apache-sling-fsresource>...

I don't know these modules very well but I think
https://github.com/apache/sling-org-apache-sling-contentparser-api is
a more generic XML (or anything) to Sling Resource converter API,
which that fsresource module (which is older) does not use.

The existing XML converter [1] is a good example of implementing that
content parser API.

So maybe that model is more reusable than fsresource, but both are
probably good for your use case.

-Bertrand

[1] 
https://github.com/apache/sling-org-apache-sling-contentparser-xml/blob/master/src/main/java/org/apache/sling/contentparser/xml/internal/XMLContentParser.java

Reply via email to