On 08/01/2014 12:55, Ihe Onwuka wrote:
Now thats me done. If it sounds weird to you , well the client doesn't
think so.

The client requirements are reasonable, but the code did not match that requirement.

The product attribute in your desired result is not a copy of any attribute in the source so you need to use an attribute constructor.

<review product="{$t/@product}">

_would_ be atomised exactly as you wish as, the content of an attribute constructor is implicitly atomized. You were copying into the content of an element constructor, and the contents of element constructors are not atomized by default.

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________
_______________________________________________
talk@x-query.com
http://x-query.com/mailman/listinfo/talk

Reply via email to