Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

A Filter problem of XQuery Transformation in OSB

936963Nov 19 2012 — edited Nov 20 2012
in a project, i use XQuery Transformation of OSB to realize filter function,but have some trouble.
in the XQuery Transfornation,i use xuquer's FWR expression
" <ns0:name>
{ for $cp in doc("D:\osbspace\Test\XQUERY\book.xml")/bookstore
where $cp/book= data($getGreeting1/ns1:name)
return 2
}
</ns0:name>
"
to get the "book.xml", can only use Absolute path("D:\osbspace\Test\XQUERY\book.xml"),but
i want to use Relative path like"../XQUERY/book.xml",and it report abnormal"Error retrieving resource 'file://book.xml'".

I have tride in the XMLSpy,the ative path is worked,why can't it(Relative path) be used in OSB's XQuery Transformation?

Anyone can help me? Sorry for my bad English.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2012
Added on Nov 19 2012
4 comments
823 views