Fester
01-23-2005, 10:32 PM
I know that within an attribute I can do $path{'child/text()'}. Also I know that within a method I can access the data using the keyword 'data'. How can I access a certain element down the XML structure using an xpath expression with this data element?
<view datapath="myData://parent">
<method event="onclick">
Debug.write( data );
var childText = data.?????('child/text()');
</method>
</view>
Is there a method I can put where the question marks are?
regards,
Fester
<view datapath="myData://parent">
<method event="onclick">
Debug.write( data );
var childText = data.?????('child/text()');
</method>
</view>
Is there a method I can put where the question marks are?
regards,
Fester