oxy_concat() Function

This function concatenates the received string arguments.

oxy_concat( str_1 , str_2 )

str_1 … str_n
The string arguments to be concatenated.

If an XML element has an attribute called padding-left:

 <p padding-left="20">...
and you want to add a padding before it with that specific amount specified in the attribute value:
*[padding-left]{
 padding-left:oxy_concat(attr(padding-left), "px");
}

Was this helpful?