XSLT multi variable フォローする

0
Avatar
Alberto Celano

Hi All,

I would like to use XSLT to find correct parameter to be printed in the label,

assuming a xml like this:


<root>
<material code ="1234">
<var1>Test</var1>
<var2>Test1</var2>
</material>
<material code ="1235">
<var1>TestA</var1>
<var2>TestA1</var2>
</material>
</root>

 

I would use XSLT to find var1 and var2 values for given code and assign the 2 values to 2 different variables...

 

there is some way to do this with a loop or assign 2 different variables usign a single action ?

 

or I need to duplicate my action for all var* (so if we have 100 var* I need 100 action ?)

 

Thanks!

サインインしてコメントを残してください。