Re: p:document-template - escaped '{' processing

"vojtech.toman@emc.com" <vojtech.toman@emc.com> writes:

> Given the following string:
>
> {{{/foo}}}
>
> What should the result of applying p:document-template be?

The same as ('{', /foo, '}')

> In other words, what are the rules of processing escaped { characters?
> Should they be unescaped from the outside or from the inside?

Two consecutive curly braces produce a single, literal curly brace. I
think they have to be escaped from the "outside in".

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
www.marklogic.com

Received on Saturday, 13 November 2010 21:19:58 UTC