Re: Data Literals

On Thu, 2016-02-25 at 09:12 +0000, Henry S. Thompson wrote:
>   So we're back to a separate templating step
> for each media type, each with its own syntax, which is less than
> ideal,
> but probably unavoidable.

It's ugly, but XQuery 3.1 has something like python and shell and Perl
"here documents", using ``[....]`` (I think I have tha tright, the
exact syntax was all over the place) with interpolation using `{...}`.

The intent was to have something suitable for blocks longer than a line
- e.g. embedded JSON, javaScript or CSS.

Received on Friday, 26 February 2016 06:08:56 UTC