GNU Info

Info Node: (psgml.info)Attributes

(psgml.info)Attributes


Next: Change and delete Prev: Move Up: Edit
Enter node , (file) or (file)node

Editing attributes
==================

   If you want to change the attributes of a start-tag you can simply
edit them directly in the buffer.  Or you can place the cursor at or
after the start-tag and use the `sgml-edit-attributes' command,
available from the `SGML'-menu or on `C-c C-a'.  This will create a new
Emacs window with all possible attributes listed in the form

     ATTRIBUTE NAME = CURRENT VALUE.

   The CURRENT VALUE may be shown as `#DEFAULT' if the attribute has
not been given a value in the start-tag.  The list also contains the
attributes declaration as a comment.  Note also that the CURRENT VALUE
is show without eventual quotes.

   It is now possible to edit the attribute values.  You can move to the
next attribute with `<TAB>'.  If you want to let an attribute have its
default value use `C-c C-d', this will insert a `#DEFAULT' in the value
field.

   If Emacs is running in an X window, the `#DEFAULT' will be
underlined to distinguish it from normal values.

   Finish the editing with `C-c C-c'; this will replace the attribute
values in the main buffer with those edited.  Note that values will be
quoted as needed.

   If you want to abort the editing, you can remove the window with
`C-x 0' or if you want it neat, kill the buffer and remove the window.

   Some other keys are:
`C-a'
     Go to the beginning of the value field
     (`sgml-edit-attrib-field-start').

`C-e'
     Go to the end of the value field (`sgml-edit-attrib-field-end').

`C-c C-k'
     Clear the value field (`sgml-edit-attrib-clear').

`C-c C-d'
     Set the value field to `#DEFAULT' (`sgml-edit-attrib-default').
     This is a special value that will make the attribute be implied.


automatically generated by info2www version 1.2.2.9