Streaming Transformations for XML

from Wikipedia, the free encyclopedia

Streaming Transformations for XML , STX for short , is a formal language for transforming very large XML files.

STX combines the abstraction level of XSLT with the performance of SAX , in particular the low memory requirements of SAX transformations.

concept

The syntax of STX largely corresponds to the syntax of XSLT or XSLT 2. The most important difference to XSLT is that instead of XPath the own query language STXPath is used.

STXPath is specially designed for efficient processing of very large files and is therefore less expressive than XPath. The XPath axes that access sibling and child nodes are unknown in STXPath. The set of permitted predicates is also significantly smaller than in XPath. In order to still be able to express complex transformations with STX, it is permitted to change the content of variables (in contrast to XSLT) and to use these variables to express the current status of the transformation.

Implementations

Web links