GNU Info

Info Node: (psgml-api.info)entities

(psgml-api.info)entities


Prev: DTD Up: Types
Enter node , (file) or (file)node

Entities
========

 - Data type: entity
     An entity has the following properties:

    NAME
          The name of the entity (a string).  This is either the name
          of a declared entity (general or parameter) or the doctype
          name if it is the implicit entity referred to by the doctype
          declaration.

    TYPE
          This is a symbol.  It is `text' if it is a text entity, other
          values are `cdata', `ndata', `sdata', `sgml' or `dtd'.

    TEXT
          This is the text of the entity, either a string or an external
          identifier.

   Operations on entities

 - Function: sgml-make-entity name type text
     Create an entity.

 - Function: sgml-entity-name entity
     The name of the entity.

 - Function: sgml-entity-type entity
     The type of the entity.

 - Function: sgml-entity-text entity
     The text of the entity.

 - Function: sgml-entity-insert-text entity
     Insert the text of the entity into the current buffer at point.

 - Function: sgml-entity-data-p entity
     True if ENTITY is a data entity, that is not of type `text'.

 - Data type: entity-table
     A table of entities that can be referenced by entity name.

 - Function: sgml-lookup-entity name entity-table
     The entity with named NAME in the table ENTITY-TABLE.  If no such
     entity exists, `nil' is returned.

 - Function: sgml-entity-declare name entity-table type text
     Create an entity from NAME, TYPE and TEXT; and enter the entity
     into the table ENTITY-TABLE.

 - Function: sgml-entity-completion-table entity-table
     Make a completion table from the ENTITY-TABLE.

 - Function: sgml-map-entities fn entity-table &optional collect
     Apply the function FN to all entities in ENTITY-TABLE.  If COLLECT
     is `t', the results of the applications are collected in a list
     and returned.


automatically generated by info2www version 1.2.2.9