Yes i thought so, but there were not it in xpathQuery() method or *.as
files.
So i confused where it has been done.
You can see that where is ?
Thanks
mt1
Not Zippy wrote:
>I believe the data is being unescaped.
>Debug.write(unescape("<ABCD>") )
>
>
>
> On 3/5/07, mt1 < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hi forks,
>
> I am wondering how to handle a escape characters in
> LzDatapointer.xpathQuery().
> This is a example code.
>
> <canvas debug="true">
> <dataset name="ds">
> <data><ABCD></data>
> </dataset>
>
> <handler name="oninit">
> var dp = new LzDatapointer();
> dp.setPointer(ds);
>
> Debug.write( "dp serialize : " + dp.serialize() );
> Debug.write( "dp xpathQuery: " + dp.xpathQuery("data/text()") );
> </handler>
> </canvas>
>
> You can see the data with escaped in <dataset> tag.
> And the first debug line ( using serialize() ) shows the strings
> without
> modification,
> but the second debug line ( using xpathQuery() ) shows "<ABCD>"
> out of
> the way by
> operating unescaped.
> I took a look around LzDatapointer.as or LzDataElement.as, but
> xpathQuery() do not
> translate from '>' to '<' anywhere.
>
> Please let me know why xpathQuery() can do such like that ?
>
> mt1
>
>