Changes for page Reconnaissance

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

From version Icon 14.1 Icon
edited by Nicolas Gregoire
on 2012/01/16 12:42
Change comment: There is no comment for this version
To version Icon 9.1 Icon
edited by Nicolas Gregoire
on 2012/01/15 00:23
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -1,8 +3,6 @@
1 -{{toc//}}
2 -
3 3  XSLT standards define several properties about the XSLT engine itself. Querying for these properties allows to easily identify the engine.
4 4  
5 -= XSLT 1.0 =
3 +== XSLT 1.0 ==
6 6  
7 7  The function [[system-property()>>http://www.w3.org/TR/xslt#function-system-property||rel="__blank"]] supports by default the following properties :
8 8  
... ... @@ -10,10 +10,19 @@
10 10  * xsl:vendor : a string identifying the vendor of the XSLT processor
11 11  * xsl:vendor-url : a URL identifying the vendor of the XSLT processor (typically its Web site)
12 12  
13 -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">
13 +<xsl:output method="text"/>
14 +<xsl:template match="/">
15 +Version : <xsl:value-of select="system-property('xsl:version')" />
16 +Vendor : <xsl:value-of select="system-property('xsl:vendor')" />
17 +Vendor URL : <xsl:value-of select="system-property('xsl:vendor-url')" />
18 +</xsl:template>
19 +</xsl:stylesheet>{{/code}}
14 14  
15 -= XSLT 2.0 =
21 +== XSLT 2.0 ==
16 16  
23 +
17 17  This version supports some [[additional>>http://www.w3.org/TR/xslt20/#system-property||rel="__blank"]] properties :
18 18  
19 19  * xsl:product-name : a string containing the name of the implementation, as defined by the implementer
... ... @@ -24,17 +24,13 @@
24 24  
25 25   The attached stylesheet [[recon-xslt20.xsl>>attach:recon-xslt20.xsl]] fingerprints a XSLT 2.0 engine.
26 26  
27 -= Enumerating supported features =
34 +== Supported features ==
28 28  
29 -== Needed functions ==
30 -
31 31  The XSLT standards define two additional functions used to enumerate the available features :
32 32  
33 33  * function-available()
34 34  * element-available()
35 35  
36 -== Example ==
37 -
38 38  This [[stylesheet>>http://www.xmlplease.com/element-function-available.xsl||rel="__blank"]] uses these functions to test the availability of :
39 39  
40 40  * XSLT and XPath functions
... ... @@ -45,10 +45,4 @@
45 45  
46 46  * EXSLT extensions
47 47  
48 -{{warning}}
49 -TODO : include my own examples !
50 -{{/warning}}
51 -
52 -== Live demo ==
53 -
54 -If you want to execute this stylesheet, just click on [[attach:toto]] (will crash Opera).
51 +TODO : include my own example !