While using saxon7.8 and xQuery, I created a xml source doc by the name of SimpleBooks.xml and then to run the query(from the command line) I created a file SimpleBooks.xquery which contains the following one line code
doc("SimpleBooks.xml")/Books/Book
The saxon processor gives an error message "file is not found", but when I change the same file Simplebooks.xquery to Simple.xml the saxon processor works fine.
The file SimpleBooks.xquery is being shown as a text file.
What could be the problem
doc("SimpleBooks.xml")/Books/Book
The saxon processor gives an error message "file is not found", but when I change the same file Simplebooks.xquery to Simple.xml the saxon processor works fine.
The file SimpleBooks.xquery is being shown as a text file.
What could be the problem