Relative Content

Tag Archive for xmlxsltstreamingsaxonxslt-3.0

XSLT 3.0 burst-streaming – how to store/get value of another branch

We are using Saxon EE 12.x to transform large (multi-GB) XML files into a much smaller internal XML-structure. We would like to reduce memory-consumption and burst-streaming on each <Document>-node seems to be a prefect match for our application. It works – but we struggle with some seemingly simple construct: How to get the information like the <PrintDate> of the <ExportHeader>-Branch and add it to each output <Doc>-element as an attribute in a streaming-mode?

XSLT 3.0 burst-streaming – how to store/get value of another branch

We are using Saxon EE 12.x to transform large (multi-GB) XML files into a much smaller internal XML-structure. We would like to reduce memory-consumption and burst-streaming on each <Document>-node seems to be a prefect match for our application. It works – but we struggle with some seemingly simple construct: How to get the information like the <PrintDate> of the <ExportHeader>-Branch and add it to each output <Doc>-element as an attribute in a streaming-mode?