xsl-list
[Top] [All Lists]

[xsl] How to process a sequence of any type as input of a transformation?

2018-06-12 10:39:32
Hello,

according to http://www.exselt.net/features/new-in-xslt-30/
“Any sequence of any type can be the input for the transformation, not just
a document.”

I haven't found a clear statement of that in the norm, but I'd like to use
this feature (using Saxon, so if the solution is specific, we can switch to
the Saxon mailing list).

My use case is to read text lines from the output of another program using
a pipe (GNU/linux):
someProg | xsltProcessor x.xsl

where the output of someProg is
line1
line2
…
(I know how to do that using a parameter, or a file)

How can I access such a sequence from a stylesheet?
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>