2 Replies Latest reply on May 9, 2012 9:01 AM by 601428

    doc function in Xquery

      Hi there,

      Is there any way to provide "relative path" in doc function in Xquery instead of "absolute path" of a file.
      I am using this in OSB and have placed the xml files (to be read) in the same folder where .xq file is already present.

      Have tried all combinationss like:

      let $mydata:=doc("/ER.xq")
      let $mydata:=doc("./ER.xq")

      but its not working. Please advice if this is possible.

      Meanwhile i am going to try exposing the xml's over http and use the URL in doc function
      Thanks in Advance