Re: Replacing templates:surround for webapps

Joe Wicentowski <[email protected]> Thu, 30 May 2024 22:32:44 +0200
Newsgroups gmane.text.xml.exist
Message-ID <CAHwerk0LT4S1y+_YwM+bUSyeRti8qENQOcn2Tko1NXG-p4kwHA@mail.gmail.com>
Hi Ralph,

Are you using the templating module from the shared-resources package? Or
are you using the newer HTML templating module?

- shared-resources: https://github.com/eXist-db/shared-resources
- templating: https://github.com/eXist-db/templating

Also, could you please share the URL to the page you're looking at that
mentions the deprecation?

Thanks,
Joe

On Thu, May 30, 2024 at 12:25 PM Ralph Corrigan <[email protected]> wrote:

> Hi all,
>
> We've recently updated (long-overdue) our eXist instances, which has
> prompted me to check the latest documentation. I notice that the
> template:surround is deprecated, but I'm not clear about what it should be
> replaced with.
>
> Our current apps use templates:surround with pointers to templates/
> *picktherelevantpage*.html.  Templates:surround is still declared in the
> updated shared resources templates.xql (assuming that has updated
> correctly) so there's no problem for now, but as we're building a new app
> at present it would be good to use whatever the new preferred method is.
> Any thoughts?
>
> Thanks
>
> Ralph
> _______________________________________________
> Exist-open mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open