Subject:relative uri Author:rajat nair Date:23 Oct 2007 04:12 PM
I m using the Stylus studio enterprise edition and is using it to map xml to xml.I then generate java code from the resulting xquery.
I checked the xquery and wherever data needs to be inserted it gives
doc('file:///c:/Documents%20and%20Settings/rnair/Desktop/ackpo.xml') which is a absolute location on my desktop.I would like to change this as the incoming xml would be via http.
The xquery uri mentioned in the java code is also absolute, For example:
String xqueryUrl = "file:///c:/test.xquery";
how do i go about putting in a relative uri in its place, so that i could place it in a package and deploy it clong with the class files to the server.
Any help would be greatly appreciated