メインコンテンツまでスキップ
バージョン:26.3

_attributes

Special Property Key (STTreeNode.xmodule)​

A special property key for use with trees. Accesses the attributes of a tree node as a property list.

Example:

set myXML to {{
<plant type="shrub" height="3-6 ft">alpine currant</plant>
}}
put myXML as tree into myPlant
put the _attributes of myPlant --> {height:"3-6 ft", type:"shrub"}

set myPlant._attributes.use to "border"
put myPlant --> <plant type="shrub" height="3-6 ft" use="border">alpine currant</plant>

Related terms in the SenseTalk Dictionary:

Further Reading​

Resources in our other reference manuals:



ノート

This page is under construction: it has not been reviewed for completeness.