I have multiple addresses under de addresses node.
This provides me a correct result <xsl:value-of select="customer/addresses/address[entity_id=3282]/city" />
It returns the city of the address node for which address/entity_id=3282
The problem is that the value 3282 is not fixed. The value 3282 is stored in another node /customer/default_shipping
I tried the below but it is not working:
<xsl:variable name="default_shipping"><xsl:value-of select="customer/default_shipping" /></xsl:variable> <xsl:value-of select="customer/addresses/address[entity_id=@default_shipping]/city" />
The @default-shippign is not interpreted in the node. What is the trick?