[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: optimization of complex XPath
On 19/11/2010 09:24, Wolfgang Laun wrote:
The streaming facilities in Saxon-EE 9.3 (or, in fact, in previous releases) make it reasonably easy to extract the links and targets to a single file in one streaming pass over the input, or to two files in two passes over the input. Producing two output files from a single pass of the input is a problem well-known to the working group (we call it the "coloured widgets problem", after a use-case put forward by Oliver Becker) and the current solution in the spec is the xsl:fork instruction, not yet implemented in Saxon. The only way to do it in Saxon would be with side-effectful extension functions, or some kind of clever use of xsl:message with a user-written MessageListener. The streamed merging/comparison of two sorted inputs is handled in the spec using the xsl:merge instruction - that's not implemented in Saxon 9.3 but we're working on it right now. Michael Kay Saxonica
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|