Changes for page Reconnaissance

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

From version Icon 6.1 Icon
edited by Nicolas Gregoire
on 2012/01/10 15:33
Change comment: There is no comment for this version
To version Icon 24.1
edited by Nicolas Gregoire
on 2012/02/03 14:52
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
... ... @@ -1,3 +1,7 @@
1 +{{toc/}}
2 +
3 += Using XSLT properties =
4 +
1 1  XSLT standards define several properties about the XSLT engine itself. Querying for these properties allows to easily identify the engine.
2 2  
3 3  == XSLT 1.0 ==
... ... @@ -12,7 +12,6 @@
12 12  
13 13  == XSLT 2.0 ==
14 14  
15 -
16 16  This version supports some [[additional>>http://www.w3.org/TR/xslt20/#system-property||rel="__blank"]] properties :
17 17  
18 18  * xsl:product-name : a string containing the name of the implementation, as defined by the implementer
... ... @@ -23,15 +23,19 @@
23 23  
24 24   The attached stylesheet [[recon-xslt20.xsl>>attach:recon-xslt20.xsl]] fingerprints a XSLT 2.0 engine.
25 25  
26 -== Supported features ==
29 += Enumerating supported features =
27 27  
31 +== Needed functions ==
32 +
28 28  The XSLT standards define two additional functions used to enumerate the available features :
29 29  
30 30  * function-available()
31 31  * element-available()
32 32  
33 -This [[stylesheet>>http://www.xmlplease.com/element-function-available.xsl||rel="__blank"]] uses these functions to test the availability of :
38 +== Example ==
34 34  
40 +This [[stylesheet>>http://www.xmlplease.com/element-function-available.xsl||rel="__blank"]] (by "xmlplease.com") uses these functions to test the availability of :
41 +
35 35  * XSLT and XPath functions
36 36  
37 37  * XSLT elements
... ... @@ -40,6 +40,14 @@
40 40  
41 41  * EXSLT extensions
42 42  
50 +{{warning}}
51 +TODO : include my own examples !
52 +{{/warning}}
43 43  
54 +== Live demo ==
44 44  
45 -TODO : include my own example !
56 +If you want to identify the XSLT engine used in your browser and its features, please click on [[attach:recon-enumerate-features.xml]].
57 +
58 +{{warning}}
59 +This will crash Opera (NULL ptr dereference aka bug DSK-355332) !
60 +{{/warning}}
Icon recon-element-function-available.xsl
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.NicolasGregoire
Size
... ... @@ -1,0 +1,1 @@
1 +78.4 KB
Content Icon
Icon recon-enumerate-features.xml
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.NicolasGregoire
Size
... ... @@ -1,0 +1,1 @@
1 +89 bytes
Content
... ... @@ -1,0 +1,3 @@
1 +<?xml-stylesheet type="text/xsl" href="recon-element-function-available.xsl" ?>
2 +<empty/>
3 +