Not Zippy,
Thank you for you reply, but does not effect in it with CDATA.
This trouble has the different between global and local datasets as
following.

data bind in <edittext multiline="true" ...>
global datasets:
line1
line2

localdatasets:
line1

line2

when the localdataset, one more LF between line1 and line2 compare with
global one.



Not Zippy wrote:

> You should try wrapping your text in CDATA tags
> Note also I see three line feeds in
> <data1>(line feed 1)
> line1(line feed 2)
> line2(line feed 3)
> </data1>
>
> On 5/10/07, mt1 <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>> Does anyone know about this trouble ?
>> The following sample code shows one more LF in using localdataset.
>>
>> Thx
>> mt1
>>
>> <canvas>
>> <dataset name="dset">
>> <root>
>> <data1>
>> line1
>> line2
>> </data1>
>> </root>
>> </dataset>
>>
>> <class name="test" layout="axis:y">
>> <dataset name="localdset">
>> <root>
>> <data1>
>> line1
>> line2
>> </data1>
>> </root>
>> </dataset>
>>
>> <view name="xx" datapath="local:classroot.localdset:/root/">
>> <edittext multiline="true" height="150" width="200"
>> datapath="data1/text()"/>
>> </view>
>> </class>
>>
>> <simplelayout/>
>> <test/>
>> <view name="list" datapath="dset:/root/">
>> <edittext multiline="true" height="150" width="200"
>> datapath="data1/text()"/>
>> </view>
>> </canvas>
>>
>
>

Reply via email to