I would like to experiment with map features in Saxon
(http://www.saxonica.com/documentation/expressions/xpath30maps.xml), but I am
unable to get past query compilation. Maybe I am missing some parameter or I
use a wrong namespace, but I just can't find the right answer. This is my query
code:
xquery version "3.0";
(: i have also tried http://www.w3.org/2005/xpath-functions/map, no difference
:)
import module namespace map = "http://ns.saxonica.com/map";
map:get(map { 1 := 'aaa'}, 1)
invoked from command line:
"c:\Program Files\Saxonica\SaxonEE9.4N\bin\Query.exe" -s:play.xml -q:play2.xq"
-qversion:3.0
The commands ends with error:
Cannot locate module for namespace "http://ns.saxonica.com/map"
When I leave out the module namespace map declaration, the error is
Prefix map has not been declared,
so I assume the namespace declaration must be there...
________________________________________
Jakub Malý
Ph. D. candidate
XML Research Group
Department of Software Engineering
Faculty of Mathematics and Physics
Charles University in Prague, Czech Republic
www.jakubmaly.cz
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--