[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Shell execution from xslt


Subject: [xsl] Shell execution from xslt
From: "Rand McRanderson therandshow@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Sep 2014 22:12:21 -0000

Hi everyone,

Is anyone aware of any xslt library that supports calling shell commands? I thinking about writing my own but wanted to know what is out there currently.

What I am thinking about is something like:
<xsl:for-each select="shell('ls -1')/line">
...
</xsl:for-each>
where each line would be a line of shell output.

I am also curious if within the constraints of the xslt spec, is it possible to take streaming data from the return of an xpath function?

- Rand McRanderson


Current Thread
Keywords