All,

The getNodeText() method for datapointer seems not working. Below is a test 
program:

  1 <canvas width="400" height="400" debug="true">
  2     <dataset name="fruits">
  3         <common>
  4             <name>apple</name>
  5             <name>pear</name>
  6             <name>watermelon</name>
  7         </common>
  8     </dataset>
  9     
 10     <datapointer id="dp" xpath="fruits:/common">
 11         <handler name="ondata" args="d">
 12             Debug.write("d: ", d);
 13             Debug.write("Node Name: ", dp.getNodeName());
 14             Debug.write("Node Text: ", dp.getNodeText());
 15         </handler>
 16     </datapointer>
 17 </canvas>

Below is the print out:

d:  «LzDataElement#0| 
<common><name>apple</name><name>pear</name><name>watermelon</name></common>» 
Node Name:  common 
Node Text:   

Question:
I should see "<name>apple</name><name>pear</name><name>watermelon</name>" on 
the line "Node Text:", right?

Your help is greatly appreciated!

Chen Ding



This message is confidential to Prodea Systems, Inc unless otherwise indicated 
or apparent from its nature. This message is directed to the intended recipient 
only, who may be readily determined by the sender of this message and its 
contents. If the reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this message to the intended 
recipient:(a)any dissemination or copying of this message is strictly 
prohibited; and(b)immediately notify the sender by return message and destroy 
any copies of this message in any form(electronic, paper or otherwise) that you 
have.The delivery of this message and its information is neither intended to be 
nor constitutes a disclosure or waiver of any trade secrets, intellectual 
property, attorney work product, or attorney-client communications. The 
authority of the individual sending this message to legally bind Prodea Systems 
 
is neither apparent nor implied,and must be independently verified.

Reply via email to