Changes for page Reconnaissance

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

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