[Xerte] xerte 2.n - Help needed to remove and then
johnathan.kemp at ntlworld.com
Mon Jun 14 11:26:05 BST 2010
Many thanks for your help.
I have not had a chance to try it yet, but am optimistic that I will now be
able to get my wizard to work.
On 9 June 2010 21:34, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
> Whilst I know how to remove nodes and duplicate an existing node - that
> is to the extent you can see in my quiz example, I have no idea how you
> would programmatically go about taking a copy of a node from one location
> and duplicating it to another location.
> //get a copy - use your own paths to the icon
> myProto = icon.parentNode.getChildByName("protoNode").cloneNode(true);
> //you have the node - now put it somewhere
> //then dupe away
> Obviously work it to fit your structure. PageTemplates used to work like
> that, before the models existed as seperate files.
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xerte