View Single Post
  #1 (permalink)  
Old May 29th, 2008, 01:57 PM
jacquesfauquex jacquesfauquex is offline
Registered User
 
Join Date: May 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default chap 19 : parse-gedcom.xsl

With oXygen XML Editor 9.2 on Mac, I tried from the xslt debugger with Saxon 9B to have parse-gedcom.xsl work with input kennedy.ged.

Before running the debugger, I had configured a parameter input = '/Users/jacquesfauquex/Downloads/ch19/kennedy.ged'

After running the debugger, the result window shows

/Users/jacquesfauquex/Downloads/ch19/kennedy.ged
Location: 1:0
Description: Content is not allowed in prolog.
URL:http://www.saxonica.com/documentatio....html#SXXP0003
E Content is not allowed in prolog. - 1:0
F Content is not allowed in prolog. - 1:0


... it looks like that xslt doesn't like to parse a text document instead of a xml document. Though, to parse text document is what the example wants to demostrate...

What do I do wrong?

Jacques
Reply With Quote