|
Hi all,
I am trying to get a woody form to show input boxes
for all <p> tags from an xml doc with the structure
<content><page><p></p><p></p>
....</page></content>.
The following is the xml binding doc. Note that for
now I must have a <t> tag inside the <p> tag to get the contents of
<p>, which is not what I want.
Can anyone give me some pointers?
------------
<?xml version="1.0"?>
<wb:context xmlns:wb="http://apache.org/cocoon/woody/binding/1.0" xmlns:wd="http://apache.org/cocoon/woody/definition/1.0" path="/content" > <wb:repeater
id="pR"
parent-path="page" row-path="p" unique-row-id="id" unique-path="@id" >
<wb:on-bind>
<wb:value id="p" path="t" /> <!-- ********* I think I just change path="t" to something that represents a text node *********--> </wb:on-bind>
<wb:on-delete-row>
<wb:delete-node /> </wb:on-delete-row>
<wb:on-insert-row>
<wb:insert-node> <p id="1"> <t/> </p> </wb:insert-node> </wb:on-insert-row>
</wb:repeater>
</wb:context> Lincoln Mitchell
hm: 618 9250 6772 mb: 0414 286 433 |
