XML Script logo
Command _copy
Attribute

target, a pointer(s) - creative mode

[required] the destination of the copy.

Attribute

source, a pointer(s)

[required] the elements or attributes to be copied.

Description

Makes a direct copy of the elements or attributes pointed to by the `source' parameter, placing them at the `target' pointer in creative mode. The `source' may be on the template or data tree. Meta-attributes are copied with their parent objects. However unlike normal attributes, meta-attributes cannot be copied explicitly (by mentioning them in the `source' parameter). Additionally, when copying multiple normal attributes explicitly the attribute of the destination element will be set to the last source attribute.

Examples of use

                                
                        

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited