I was wondering how people are using XInclude in BaseX.

Currently, if I load a document into BaseX, XInclude is processed on-load.
What if I want to do inclusion "on-demand" in the database context? For
example, if I have a template for a web page and wanted to use XInclude to
grab something from the database and fill it in when you load the page. One
could just use an xquery-based template in that particular example, but
there are other cases where this is useful. It was not obvious to me
reading the documentation how you're intended to do that, if it is possible.

Thanks!

Reply via email to