[Tellico-users] xslt question about overwrtiting values
robby at periapsis.org
Thu May 28 10:50:39 UTC 2015
On Thu, May 28, 2015 at 4:30 AM, Xavier Brochard <xavier at alternatif.org> wrote:
> Hi Robby
> Could you help me ?
> From Amazon XML data source, I would like to retrieve ItemDimensions or
> PackageDimensions, which one it doesn't matter. Sometimes only one of the twos
> is available.
> Instead of testing values I would like to overwrite, but I'm not sure about
> that : if a value is empty, will it overwrite the first value retrieved ?
You may be able to write it as (ItemDimensions:Width |
PackageDimensions:Width) which means take the first non-empty
value. Reverse the order if you want package to override Item.
More information about the tellico-users