View Single Post
  #4 (permalink)  
Old May 29th, 2008, 03:51 PM
samjudson's Avatar
samjudson samjudson is offline
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

You have two options here, either supply a 'dummy' source document (can be any valid XML file) or use the -it switch. Note the parameter name at the end should be 'input'.

Also note that +param=file (note the '+') loads the parameters from the given file.

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

java -jar saxon9.jar -s dummy.xml parse-gedcom.xsl input=kennedy.ged





/- Sam Judson : Wrox Technical Editor -/
Reply With Quote