|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
The stm accessor is used to perform Simple Tree Manipulation operations on the operand document. STM is a language that performs XML operations at XPath locations in a processed document. STM concentrates on tree manipulation operations only. Unlike XSLT, whose operations are defined in the transform domain, STM operations are defined in the document domain. This frequently has advantages. STM operations are iterative with respect to the xpath target in the operand. That is if the xpath reference is multivalued the STM operation will be applied to all targets.
STM operations can incorporate substitutions from an optional param document. A The combination of STM and XSLT is very useful. For example STM template filling for XSLT generated templates is a common pattern, where XSLT is used to transform a document into a template and STM used to dynamically substitute documents into the template - this document was created using this pattern. STM operations
A detailed tutorial of the STM language is available here Example
References
(C) 2003, 1060 Research Limited |
||||||||||||||||||||||||||||||||||||||||||||||||||
|
© 2003,2004, 1060® Research Limited
1060 registered trademark, NetKernel trademark of 1060 Research Limited
|
|||||||||||||||||||||||||||||||||||||||||||||||||||