View Single Post
 
Old August 5th, 2008, 02:08 PM
PKHG PKHG is offline
Authorized User
 
Join Date: Jun 2006
Location: Enschede, , Netherlands.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Result of Transformation

Struggling with hello.xml, transformed by hello.xsl
this can be remarked:

Asking for the source of the result (either IE7 or FF3) the XML is shown!?
In FF3 with Firebug-plugin one may inspect elements and doing so the transformation is nicely seen.

Using Saxionb like this
Code:
c:\web\xampp\htdocs\xml\saxonb>java -classpath . -jar saxon9.jar -t -s:hello.xml hello.xsl 
java -classpath . -jar saxon9.jar -t -s:hello.xml hello.xsl 
Saxon 9.1.0.1J from Saxonica
Java version 1.6.0_07
Warning: at xsl:stylesheet on line 2 column 80 of hello.xsl:
  Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
....
Shows the HTML code too (nice!)

Where did the Warning come from? In the orginal has this line:
Code:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
replacing 1.0 by 2.o the Warning vanisches :D