Subject: Re: [xsl] How to process a sequence of any type as input of a transformation? From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 12 Jun 2018 15:53:25 -0000 |
according to http://www.exselt.net/features/new-in-xslt-30/
bAny sequence of any type can be the input for the transformation, not just a document.b
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 b& (I know how to do that using a parameter, or a file)
How can I access such a sequence from a stylesheet?
In the XSLT code you can use <xsl:template match=".[. instance of xs:string]"> for instance to process a string value.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to process a sequence of , Olivier Jeulin olivi | Thread | Re: [xsl] How to process a sequence, Dimitre Novatchev dn |
[xsl] How to process a sequence of , Olivier Jeulin olivi | Date | Re: [xsl] How to process a sequence, Dimitre Novatchev dn |
Month |