#### 10.1.2 Pushing content into an element

In addition to the three DITA 1.2 push conactions (pushreplace, pushbefore, and pushafter), DITA2Go also supports pushatstart and pushatend, which place the content inside the target location; that is, at the start or the end of the element content, respectively. The pushatstart and pushatend extensions put in only plain text extracted from the element with the conref. They are only topic-to-topic, not to/from or between maps.

The target must be an element that can contain text, but is not otherwise limited. Only the text content of the element with the conref is pushed. You can push text to the same element as many times as you want; the pushes are performed in document order (of the elements with the conrefs), and result in preserving that order both at start and at end. That is, if you push A, then B, to start and to end, you get AB ... AB (not BA ... AB).

Previous Topic: 10.1.1 Referencing internal and external maps and topics

Next Topic: 10.1.3 Understanding problems with processing conkeyrefs

Parent Topic: 10.1 Pushing and pulling content by reference

Sibling Topics:

10.1.1 Referencing internal and external maps and topics

10.1.3 Understanding problems with processing conkeyrefs