Hi Scott,

You can do this by writing:

<p:input name="data" href="aggregate('WrapperElement',
    aggregate('LiteralStringElement'), someFile.xml)"/>)

This will create what you expected, i.e.:

<WrapperElement>
    <LiteralStringElement/>
    ... contents of someFile.xml ...
</WrapperElement>

Alex


Scott McMullan wrote:
Hi,

I'm trying to use aggregate() and pass it a literal string, similar to the
way a literal is passed in as the 1st parameter.

Example, I want:

<p:input name="data" href="aggregate('WrapperElement',
'<LiteralStringElement/>', someFile.xml))"/>


To produce:


<WrapperElement>
        <LiteralStringElement/>
        ... contents of someFile.xml ...
</WrapperElement>


Thanks.


-Scott McMullan
UC Berkeley Center for Document Engineering

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to