View Single Post
  #5 (permalink)  
Old May 29th, 2008, 04:08 PM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,481, Level: 59
Points: 18,481, Level: 59 Points: 18,481, Level: 59 Points: 18,481, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,960
Thanks: 0
Thanked 292 Times in 287 Posts
Default

java -jar saxon9.jar -it:main -xsl:parse-gedcom.xsl input=kennedy.ged

-it:main causes transformation to start at the template named "main".

input=kennedy.ged sets the value of <xsl:param name="input"/>.

The parameter is a string, not an XML document, so you don't want the "+" sign.

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