2014-06-21, 00:01
hello,
I'm experimenting with some skinning ideas I had recently and now I'm stuck with an overhead problem :
Let's say I have 1..1000 lines of something like this :
This is clearly not the way to go because of the huge overhead but is there a way to make it more efficient ? Tried the following :
would be the way to go but it seems that <include> doesn't parse info tags <constant> also doesn't work with info tags, and $VAR[xxx] can't be used with <posx>
so is there any way to make this happen without 1000 lines of code?
thanks for your help!
I'm experimenting with some skinning ideas I had recently and now I'm stuck with an overhead problem :
Let's say I have 1..1000 lines of something like this :
Code:
<include condition="Skin.String(PosX,1)">PosX_1</include>
...
<include condition="Skin.String(PosX,1000)">PosX_1000</include>
This is clearly not the way to go because of the huge overhead but is there a way to make it more efficient ? Tried the following :
Code:
<include>PosX_$INFO[Skin.String(PosX)]</include>
<include>PosX_$VAR[xxx]</include>
so is there any way to make this happen without 1000 lines of code?
thanks for your help!