[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Can an XSLT 3.0 stylesheet access the complete sequenc

Subject: Can an XSLT 3.0 stylesheet access the complete sequence of values passed in as the initial match selection?
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 12 Jan 2020 11:32:21 -0000
 Can an XSLT 3.0 stylesheet access the complete sequenc
In https://www.w3.org/TR/xslt-30/#dt-initial-match-selection, the XSLT 3
spec outlines:

    A stylesheet may be evaluated by supplying a value to be processed,
    together with aninitial mode
    <https://www.w3.org/TR/xslt-30/#dt-initial-mode>. The value (which
    can be any sequence of items) is referred to as the*initial match
    selection*.

and

    specifically, each item in the input sequence is processed by
    selecting and evaluating the best matching template rule


Does a stylesheet have any way of accessing the whole sequence? Or is it
only able to process each item in the sequence with a matching template?

For instance, if the initial match selection is a sequence of array
items, is there any way to merge those arrays? The function array:join
https://www.w3.org/TR/xpath-functions/#func-array-join can join a
sequence of arrays, but is there any way in that case of the initial
match selection being a sequence of arrays to apply it to that initial
match selection?

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.