Changes for page Reconnaissance

Last modified by Nicolas Gregoire on 2012/02/03 14:52

From version Icon 4.1 Icon
edited by Nicolas Gregoire
on 2012/01/10 14:57
Change comment: There is no comment for this version
To version Icon 7.1 Icon
edited by Nicolas Gregoire
on 2012/01/15 00:20
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Tags
... ... @@ -1,0 +1,1 @@
1 +recon|fingerprint|system-property
Content
... ... @@ -8,7 +8,8 @@
8 8  * xsl:vendor : a string identifying the vendor of the XSLT processor
9 9  * xsl:vendor-url : a URL identifying the vendor of the XSLT processor (typically its Web site)
10 10  
11 -The attached stylesheet [[recon-xslt10.xsl>>attach:recon-xslt10.xsl]] fingerprints a XSLT 1.0 engine.
11 +The attached stylesheet [[recon-xslt10.xsl>>attach:recon-xslt10.xsl]] fingerprints a XSLT 1.0 engine :
12 +{{code language="xml"}} <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text"/> <xsl:template match="/"> Version : <xsl:value-of select="system-property('xsl:version')" /> Vendor : <xsl:value-of select="system-property('xsl:vendor')" /> Vendor URL : <xsl:value-of select="system-property('xsl:vendor-url')" /> </xsl:template> </xsl:stylesheet> {{/code}}
12 12  
13 13  == XSLT 2.0 ==
14 14  
... ... @@ -22,3 +22,23 @@
22 22  * xsl:supports-backwards-compatibility : returns "yes" if the XSLT processor offers this feature, or "no" otherwise
23 23  
24 24   The attached stylesheet [[recon-xslt20.xsl>>attach:recon-xslt20.xsl]] fingerprints a XSLT 2.0 engine.
26 +
27 +== Supported features ==
28 +
29 +The XSLT standards define two additional functions used to enumerate the available features :
30 +
31 +* function-available()
32 +* element-available()
33 +
34 +This [[stylesheet>>http://www.xmlplease.com/element-function-available.xsl||rel="__blank"]] uses these functions to test the availability of :
35 +
36 +* XSLT and XPath functions
37 +
38 +* XSLT elements
39 +
40 +* Saxon extensions
41 +
42 +* EXSLT extensions
43 +
44 +
45 +TODO : include my own example !