swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
Prerequisite Concepts     Related Topics  

Attributes: order of indexing

The attributes and the data-attributes shelves are indexed:

The following output action gives the value of the first attribute declared for the current element, no matter what its name or where its value is specified in a start tag. The following is in error if there are no attributes declared for the currently opened element, or if the first declared attribute has neither a default nor a specified value:

  output attributes[1]

In the next case the value of the first attribute specified in the start tag is output, no matter what its declared order. (Here the output action is an error if no attributes are specified in the start tag, even if there are declared attributes and they all have default values.)

  output specified attributes[1]

Prerequisite Concepts
 
  Related Topics
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:35:14 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.