Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XQuery Help and Discussion
»
Problem with stylusxql calls
Topic
Prev Topic
Next Topic
next
Subject:
Problem with stylusxql calls
Author:
Agustín Bonillo
Date:
28 Oct 2004 09:04 PM
Hi, I have a problem with stylusxql calls:
I have installed Stylus Studio 6.0 212f.
I want execute a xquery file that it contains a external parameter
called "documentos".
The problem is when I call to Stylusxql. I call so:
stylusxql -out results.xml -param documentos=documentos.xml archivo.xquery
The error produced is:
Error while evaluating external variable documentos
Error: An attempt was made to perform an axis step when the
Context Item was not a node [err:XP0020]
What is the problem??? How can I execute this query???
I'm sorry, I don't speak english very well.
I hope you can resolve my problem.
Thanks you.
next
Subject:
Re: Problem with stylusxql calls
Author:
Minollo I.
Date:
28 Oct 2004 10:00 PM
It looks like the attached XQuery didn't come through.
Anyway, assuming "documentos" is a string, probably you want to change the
command line invocation into something similar to:
stylusxql -out results.xml -param documentos='documentos.xml' archivo.xquery
Hope this helps,
Minollo
next
Subject:
Re: Problem with stylusxql calls
Author:
Agustín Bonillo
Date:
31 Oct 2004 06:47 AM
Hi Minollo.
I have used the call that you have told me:
"stylusxql -out results.xml -param documentos='documentos.xml' archivo.xquery"
and it produces this error:
Error: Error retrieving resource: documentos.xml
Do you know why this error occurs???
Thanks You for your help.
next
Subject:
Re: Problem with stylusxql calls
Author:
Ivan Pedruzzi
Date:
31 Oct 2004 12:25 PM
Without see the xquery source it's difficult to say.
Is the file called documentos.xml in the same directory of the xquery
you are executing?
if it's not you should pass the full path like that
stylusxql -out results.xml -param documentos='file:///c:/myxml/documentos.xml' archivo.xquery
Ivan
top
Subject:
Re: Problem with stylusxql calls
Author:
Agustín Bonillo
Date:
02 Nov 2004 04:34 AM
Thansk you. I have repair my problem.
Good Bye.
Prev Topic
Next Topic
Powered by
Stylus Studio
, the world's leading
XML IDE
for
XML
,
XSLT
,
XQuery
,
XML Schema
,
DTD
,
XPath
,
WSDL
,
XHTML
,
SQL/XML
, and
XML Mapping
!
Go to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.