Markup declaration code generation utilities for use via FSI system identifiers.

Static bundled module containing utility functions generating markup declaration text for declaring entities (as received parameters) and attributes (as promoted parameters), resp., for use in templates instantiated from user-supplied parameters.

Storage manager notation declarations for invoking these bundled module functions are exposed via the declaration set resolved by the public identifier +//IDN sgml.net//DTD FSISM Query parameter declaration utilities//EN.

Member Details

generate_attrspec_decl() static

Generates an attribute list declaration fragment for declaring (data) attributes from names specified in the params data attribute.

The queryparam_attrspec storage manager notation is declared as:

<!NOTATION queryparam_attrspec SYSTEM>
<!ATTLIST #NOTATION queryparam_attrspec
  superdcn NAME #FIXED module
  module CDATA #FIXED "queryparamutils"
  function CDATA #FIXED "generate_attrspec_decl"
  params NAMES #REQUIRED>

Attribute declaration list fragments are generated as follows:

param1 CDATA #FIXED "%param1"
param2 CDATA #FIXED "%param2"
...
generate_entity_decl() static

Generates system-specific parameter entity declarations from names specified in the params data attribute.

The queryparam_entity_decl storage manager notation is declared as:

<!NOTATION queryparam_entity_decl SYSTEM>
<!ATTLIST #NOTATION queryparam_entity_decl
  superdcn NAME #FIXED module
  module CDATA #FIXED "queryparamutils"
  function CDATA #FIXED "generate_entity_decl"
  params NAMES #REQUIRED>

For a parameter entity declared as:

<?IS10744 FSIDR queryparam_entity_decl
  FSIDefDoc="+//IDN sgml.net//DTD FSISM Query parameter declaration utilities//EN">
<!ENTITY % decl-text SYSTEM "<queryparam_entity_decl
  params="param1 param2 ...>">

element declarations in decl-text are generated as follows:

<!ENTITY % param1 SYSTEM>
<!ENTITY % param2 SYSTEM>
...