Mark,
So you have an instance which contains not only XML, but xf:output elements?
In that case that won't work:
<xf:output ref="somenode" mediatype="text/html"/>
won't interpret xf:output under the "somenode" tree.
You could maybe use some bind/@calculate to do something like:
bind ref="//xf:output" calculate="saxon:evaluate(@value)"
(I haven't tried this.)
This won't do exactly what you want as the nested xf:output will
remain. But you could maybe transform the xf:output first, e.g. into
<div> elements.
Just thinking out loud here!
-Erik
On Thu, Sep 29, 2011 at 2:26 AM, Mark Seaborne <
[hidden email]> wrote:
> Hi,
>
> I have a requirement to display arbitrary HTML embedded within instance values, for which I am using <xf:output ref="somenode" mediatype="text/html"/>
>
> However, the arbitrary HTML can include arbitrary values from other instance documents.
>
> Consequently I need to achieve the effect of being able to render arbitrary HTML that might include xf:output elements and for these to be evaluated and updated as values change. Is there anyway that I might achieve the result I need with Orbeon?
>
> Best wishes
>
> Mark
>
>
> --
> 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>
>
--
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