[Tellico-users] xslt question about overwrtiting values
Xavier Brochard
xavier at alternatif.org
Thu May 28 08:30:24 UTC 2015
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 ?
Sample cases :
---------------------
First:
ItemDimensions:Width 123
ItemDimensions:Height 456
=> ItemDimensions values are affected to fields
PackageDimensions:Width 124
PackageDimensions:Height 457
=> then PackageDimensions values overwrite field's content
Second:
ItemDimensions:Width 123
ItemDimensions:Height 456
=> ItemDimensions values are affected to fields
PackageDimensions:Width (empty)
PackageDimensions:Height (empty)
=> then PackageDimensions values doesn't overwrite field's content
I know I could test myself, but as I'm not "fluent" in XSLT, it would takes
time to found an error.
thanks in advance
--
Xavier Brochard
xavier at alternatif.org
More information about the tellico-users
mailing list