xsl-list
[Top] [All Lists]

RE: Passing params to XSLT from Java - Exception

2002-12-05 03:38:04
I am trying to pass params to a xsl stylesheet from a Java 
application.  It 
falls over with the following error

"org.xml.sax.SAXParseException: Content is not allowed in 
prolog." and it 
seems as if this is caused by the parameters.

It's very unlikely that this is caused by the parameters. It means that
either your XML source document or your stylesheet is not well-formed
XML.

You might get better diagnostics if you run the processor on the same
files from the command line.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>