p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   XSLT (http://p2p.wrox.com/forumdisplay.php?f=86)
-   -   Which XSLT processor? (http://p2p.wrox.com/showthread.php?t=61206)

li72 August 16th, 2007 10:11 AM

Which XSLT processor?
 
Hi.. Guys
I wrote some simple stylesheet to transform some XML documents to HTML docs and I got fine results. Since I am a new to XSLT I don’t know which XSLT processor that I have been using?
 the heard of my stylesheet is as follow:

<?xml version="1.0" encoding="ISO-8859-1" ?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns="http://www.w3.org/1999/xhtml">
 <xsl:output method="html" indent="yes" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
  doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

  <xsl:template match="/">
Any clue?
Many thanks in advance




mhkay August 16th, 2007 11:18 AM

>I don't know which XSLT processor that I have been using?


I can probably tell you which processor you are running if you tell me how you ran the transformation.

Alternatively, use

<xsl:value-of select="system-property('xsl:vendor')"/>

and it will tell you itself.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference


All times are GMT -4. The time now is 07:29 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.