cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <>
Subject RE: fb:insert-node width dynamic src
Date Tue, 08 Nov 2011 15:27:03 GMT
Not sure how the fb:insert-node solution works but you might get away using the cinclude transformer.

If you would generate or insert this tag into the xml you generate and next would run the
cinclude transformer over the resulting xml
<cinclude:include src="cocoon://{path}/{widget_value}.xml "/>
The xml would get inserted at that point.


-----Original Message-----
From: Patricia D├ęchandol [] 
Sent: Tuesday, November 08, 2011 2:20 PM
Subject: fb:insert-node width dynamic src


I face a problem with the use of <fb:insert-node> with my CForms.

I need to import an existing XML document into another one.
The imported XML can only be accessed through cocoon:// URI, so I use <fb:insert-node src="."

I need to be able to specify dynamic "src" attribute computed from the value of a form widget.
The src attribute need to be constructed this way :


How can I specify my src attribute to retrieve the widget value ?

Thanks for your help.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message