LFC-$13.lzx
<canvas height="220" layout="axis: y; spacing: 2" debug="true">
<debug y="70" height="${this.parent.height - 55}"/>
<dataset name="input">
<article><actor>Leonardo DiCaprio</actor> and <writer>Christopher Nolan</writer>'s "Inception" is anything but a sleeper…</article>
</dataset>
<text name="ascdata" datapath="input:/article/" cdata="$path{'text()'}" multiline="true" width="400" height="30" fgcolor="0x00cc00"/>
<text name="astext" datapath="input:/article/" text="$path{'text()'}" multiline="true" width="400" height="30" fgcolor="0x0066cc"/>
<handler name="oninit">
Debug.debug("ascdata.presentAttribute('text') => %w", this.ascdata.presentAttribute('text'));
Debug.debug("ascdata.presentAttribute('cdata') => %w", this.ascdata.presentAttribute('cdata'));
Debug.info("astext.presentAttribute('text') => %w", this.astext.presentAttribute('text'));
Debug.info("astext.presentAttribute('cdata') => %w", this.astext.presentAttribute('cdata'));
</handler>
</canvas>
Cross References
Named Instances