Yank text if attribute defined
ArborX


Summary
If the attribute of the element is defined then yank text into a reference tag.

If the 'name' attribute is defined in the <authors name="..."> tag. Then insert a showstring that will yank the text up to the </authors> tag, and insert the resulting yanked text into a reference tag called 'Authmn' preceded with the style tag <name_style>.

Tx1: 0(36)c

...<authors name="Chris">This manual was......</authors>

St authors: 0(36)c

<?showifdef "name"$60#?show "Authmn"\[name_style\]\$1,0,63y"/\\60\\\\47\\authors\\62\\/ci"$62#>

Note again the $60# as in the previous example and the double \\ in the search string, also the \[ & \] around the style tag, instructing Arbortext APP not to process yet. See also .

Document created on 08-Feb-2003 (revision 1)