Hi all,
All of my documents in exist have an xinclude that points to a header file in a child folder for my project. When I create a new document, I need to be able to pass this xinclude in the orbeon instance to exist when saving. I don't want to load the file referenced by the xinclude into the Orbeon webform. My best guess is that I need to disable output escaping for the < and > characters. I tried doing this: <?javax.xml.transform.disable-output-escaping?><<?javax.xml.transform.enable-output-escaping?> This literally sent the above string to exist, and the xinclude isn't being handled natively in the database. Does anyone have any good ideas on how to make this work? Thanks, Ethan -- 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 |
Administrator
|
Ethan,
Is the XInclude processed by eXist, or by Orbeon Forms? I.e. if you get the document through the REST API, in what is returned by eXist, is the XInclude element already replaced by the document referenced in that element? Alex |
Hi Alessandro,
Yeah, the eXist rest interface returns the full document, with Xincludes replaced by the document they referenced. I actually reconfigured the way that I have modeled my data because I ran into some other problems with it, but it may still be useful to know how to pass the <xi:include href=""/> string straight to eXist, for future reference. Thanks, Ethan On Tue, Aug 18, 2009 at 1:49 PM, Alessandro Vernet <[hidden email]> wrote:
-- 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 |
Administrator
|
Ethan,
I think you'll find what you are looking for on: http://www.orbeon.com/ops/doc/processors-xinclude Alex |
Free forum by Nabble | Edit this page |