On Mon, Feb 07, 2005 at 03:48:47PM +0100, Erik Bruchez wrote:

> Do you mean an algorithm like:
> 
> 1. Iterating on the attributes in the source document
> 2. Finding the path to those attributes in the source document
> 3. Converting the path to a path in the result document
> 4. Create the attribute in the result document

Yes.

> Probably that xu:for-each would do for #1. You should be able to extract 
> pieces of the path with XPath string functions for #2. Then iterating 
> over those to find the document in #3. And then use xu:attribute to 
> create the attribute.
> 
> So it sounds like it may be possible.

Sounds like it's not an easy thing... :-(  For, now, I include the
complete form instance as a branch in the action result and I copy
it completely with XUpdate, replacement the whole form.

-- 
--    Jos Vos <[EMAIL PROTECTED]>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to