Re: Re: oxf protocol for finding a file

Posted by Phani S on
URL: https://discuss.orbeon.com/oxf-protocol-for-finding-a-file-tp45182p45184.html

Thanks for the reply,
             Probably I have to use the full URL for referring the file.

If you put the file in the orbeon/WEB-INF/resource/gaga.xml you should be
able to XInclude it with:

<xi:include  href="oxf:/gaga.xml" xxi:omit-xml-base="true" />

But I can't think of a way to XInclude a file which would be in your
application's war (remember: the code executing the XInclude is running in
the context of the Orbeon's war).

Alex

-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet
--
View this message in context: http://www.nabble.com/oxf-protocol-for-finding-a-file-tp25176049p25182861.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
Phani. S
M.Tech(Software Engineering)
Motilal Nehru National Institute of Technology
(+91) 9010093398


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws