Re: p:template question/issue - attributes in text content

Alex Milowski <alex@milowski.com> writes:
> I just ran into a bit with attributes in text content via p:template.
>
> The note says:
>
> "In text content, an expression that selects nodes will cause those nodes to be copied into the
> template document."
>
> Yet, an attribute cannot be copied as such. 
>
> In Calabash, I get an empty string.  I was expecting the node's string value.

That could be a bug.

> It appears we are rather silent on what should happen.

Can you provide a simple, concrete example?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com

Received on Wednesday, 28 August 2013 15:53:53 UTC