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

_nameSpaces

Special Property Key (STTreeNode.xmodule)​

A special property key for use with trees. Enables you to access and change the namespace definitions of a tree. The value of the _namespaces property is a property list in which each key is a namespace prefix and its value is the associated namespace URI.

Example:

put "<unit>liter</unit>" as tree into unitTree
set unitTree's _namespace to {u:"https://www.cuemath.com/measurement/"}
put unitTree --> "<unit xmlns:u="https://www.cuemath.com/measurement/">liter</unit>

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.