Maybe we should mention that the reason you would sometimes need this, is because you've got one (or all) part(s) of the resulting property name in a variable?
I just gave a dummy example for forum post. Actually, I am using it for the getting the properties that have the common part and the remaining is the appended text (which seperates the properties for multilanguage according to session value that holds language parameter).
I just made it look simple so that everyone could understand the scenario.
Get value-of property using concat
Hi to all,
I am trying to get the value of the property using concat in the xslt.
E.g the alias name of the property is bodyText
so i would like to have something like,
on the previous schema we could do this nicely like
Can't I try this out??
After a cumbersome trying, I finally found out the solution
we could use following syntax
Hi praveity,
Maybe we should mention that the reason you would sometimes need this, is because you've got one (or all) part(s) of the resulting property name in a variable?
(Using name() is as good as local-name() as long as we're not using namespaced XML - which we're not in the Umbraco tree)
Otherwise, it just doesn't make any sense to do this, and the haters will point and say: "Oh look how stupidly verbose XSLT is!" :-)
/Chriztian
You are right Chriztian,,
I just gave a dummy example for forum post. Actually, I am using it for the getting the properties that have the common part and the remaining is the appended text (which seperates the properties for multilanguage according to session value that holds language parameter).
I just made it look simple so that everyone could understand the scenario.
is working on a reply...