The aml:move-to tag allows you to move any specified section of XML elements to another specified location within the XML document.
In order to make use of the move-to option, you have the option of entering a long version or short version:
Long Version:
The long version makes use of the
target attribute, which specifies where you would like the selected elements (represented in the example below by "CONTENT") to be moved, by indicating the name of the
aml:target tag (represented by "NAME") that has been placed in the desired location.
It should be entered as follows into the template's HTML window:
<aml:move-to target="NAME"><b>CONTENT</b></aml:move-to>
Short Version:
The short version omits the target attribute and uses
move-to as an attribute within the b tag.
It should be entered as follows into the template's HTML window:
<b aml:move-to="NAME">CONTENT</b>
!NEED SCREENSHOT SHOWING OUTPUT OF THIS TAG
In specifying the target location for the selected content, there are two standard target names that can be used without needing to create your own aml:target tag:
- default - When used with the aml:move-to tag, this target name will cause the selected content to be placed in the normal page content area
- html-header - When used with the aml:move-to tag, this target name will cause the selected content to be placed in the page's header (which is identified by the HTML head tag)
!NEED SCREENSHOTS SHOWING OUTPUTS OF USING THESE TWO TARGET LOCATIONS