Menu

change the default parser in saxon

saxon-help
gyskouras
2005-11-10
2012-10-08
  • gyskouras

    gyskouras - 2005-11-10

    Hi,
    I am trying to find out a way to change the default parser used by Saxon. The documentation says that you can use the -x and -y command line arguments to do that. I did not see any such arguments in running the saxon engine! I have donwloaded the last version of Saxon.
    I am running it as:

    java -cp saxon8.jar net.sf.saxon.Query -t -s
    samples\data\books.xml samples\query\books-to-html.xq >c:\temp.html

    The -x and -y arguments are not accepted. Even in the sources (Query.java) there is no support for these arguments.

    Please can somebody let me know how to run saxon with xerces parser for example?

    Thanks.

     
  • bate peterson

    bate peterson - 2019-04-04
    Post awaiting moderation.