Insert text Node

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Insert text Node

maalej
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Insert text Node

Erik Bruchez
Administrator
Did you try:

<xforms:insert nodeset="."
origin="string(instance('T')/Prototyp[@id='106']/*)"/>

-Erik

On Sat, Nov 24, 2012 at 2:37 PM, maalej <[hidden email]> wrote:

> Hi,
>
> i want to insert text Node after an Element.
>
> an idea how can i insert Text() after the Element "Element2".
>
> Thanks :-)
> Maalej
>
> <?xml version="1.0" encoding="UTF-8"?>
> <purchaseOrder><element2>1</element2>e1<element2>2</element2>e2</purchaseOrder>
>
> <xforms:group ref="/purchaseOrder">
>  <xforms:group id="103" ref="self::purchaseOrder">
> <xforms:repeat nodeset="./node()[self::* or self::text()]">
> <xforms:group ref="self::element2">
> <xforms:input ref="self::element2">
> <xforms:label>element2</xforms:label>
> </xforms:input>
> </xforms:group>
>
>  <xforms:group ref="self::text()">
>  <xforms:input ref="self::text()">
>  <xforms:label>text</xforms:label>
>  </xforms:input>
>  </xforms:group>
>
> <xforms:trigger>
> <xforms:label>Add element2</xforms:label>
> <xforms:action ev:event="DOMActivate">
> <xforms:insert nodeset="." origin="instance('T')/Prototyp[@id='106']/*"/>
>  </xforms:action>
> </xforms:trigger>
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Insert-text-Node-tp4656013.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Insert text Node

maalej
CONTENTS DELETED
The author has deleted this message.