swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
operator  

key of data-attributes

 
 

Return type: String
Returns:       The name of the attribute.

Syntax

key of specified? data-attributes
 (of ( attribute-reference))? [numeric-expression]


Purpose

An operation that returns the "true" name of the attribute. This is most useful when retrieving the real name of an attribute that is being referenced through an alias. The name is uppercased when the SGML declaration specifies NAMECASE GENERAL YES for the SGML document being processed.

When key of is applied to data-attributes, the [...] item indexer is required.

Because attributes are always considered part of a shelf of attributes, it always makes sense to ask for the "key" of an attribute, even if the data-attribute form is used rather than data-attributes.

    Related Syntax
   data-attribute
   data-attributes
   namecase general
 
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.