Mapping attributes?
-
Hi. How can I map attribute a different name?
For example, I have
<tireType>Winter<tireType>I want to change “Winter” to “Winter Tire”, but at the same <tireType> line, it can be “Summer”, or “All-Season” and so on.
How would I go about changing
Winter > Winter Tire
Summer > Summer Tire
All Season > All Season TireI have this code here, but I’m not sure how to point it correctly to <tireType> value.
[str_replace(array(“Winter”,”Summer”,”All Season”),array(“Winter Tire”,”Summer Tire”,”All Season Tire”),{tireType/value[1]})]
Any help is appreciated. Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Mapping attributes?’ is closed to new replies.