I have rdl report in xml like below.
I need to wrap all label <Valuetag contents to =Res.IR method call.
For example
<Value>ProductI d</Value>
should be replaced with
<Value>=Res.IR( "ProductId" )</Value>
Value tags which start with = character should not replaced.
How to process such xml ?
Andrus.
</Textbox>
<Textbox Name="Textbox8" >
<Top>3.07cm</Top>
<Left>17.11cm </Left>
<Width>1.89cm </Width>
<Height>0.55c m</Height>
<CanShrink>true </CanShrink>
<ZIndex>200</ZIndex>
<Value>=test.Ge tRegnr()</Value>
<Style>
<FontFamily>Tim es New Roman</FontFamily>
<FontSize>12p t</FontSize>
<TextAlign>Righ t</TextAlign>
</Style>
</Textbox>
<Textbox Name="Label3">
<Top>3.09cm</Top>
<Left>15.58cm </Left>
<Height>0.53c m</Height>
<CanGrow>fals e</CanGrow>
<CanShrink>true </CanShrink>
<ZIndex>200</ZIndex>
<Value>ProductI d</Value>
<Width>1.51cm </Width>
<Style>
<FontFamily>Tim es New Roman</FontFamily>
<FontSize>12p t</FontSize>
</Style>
</Textbox>
I need to wrap all label <Valuetag contents to =Res.IR method call.
For example
<Value>ProductI d</Value>
should be replaced with
<Value>=Res.IR( "ProductId" )</Value>
Value tags which start with = character should not replaced.
How to process such xml ?
Andrus.
</Textbox>
<Textbox Name="Textbox8" >
<Top>3.07cm</Top>
<Left>17.11cm </Left>
<Width>1.89cm </Width>
<Height>0.55c m</Height>
<CanShrink>true </CanShrink>
<ZIndex>200</ZIndex>
<Value>=test.Ge tRegnr()</Value>
<Style>
<FontFamily>Tim es New Roman</FontFamily>
<FontSize>12p t</FontSize>
<TextAlign>Righ t</TextAlign>
</Style>
</Textbox>
<Textbox Name="Label3">
<Top>3.09cm</Top>
<Left>15.58cm </Left>
<Height>0.53c m</Height>
<CanGrow>fals e</CanGrow>
<CanShrink>true </CanShrink>
<ZIndex>200</ZIndex>
<Value>ProductI d</Value>
<Width>1.51cm </Width>
<Style>
<FontFamily>Tim es New Roman</FontFamily>
<FontSize>12p t</FontSize>
</Style>
</Textbox>
Comment