contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
Prefixes: "using" and list-valued attributes  
 

Introduction

The using prefix must be used when accessing individual items, that are from a list-valued attribute, from the attributes or data-attributes shelf.

This example outputs, one per line, the tokens of one of the currently opened element's parent's attributes. The parent's attribute that is selected is the one whose attribute name is the value of the stream variable "name-to-be-used".

In this example, the attribute selected from the parent is assigned the alias-name "named-attribute", and that alias is used to refer to the selected attribute within the action prefixed by using attributes.

Inside this repeat over action, "named-attribute" serves two purposes:



Sample

  global stream name-to-be-used
  ...
  using attributes of parent ^ name-to-be-used
        as named-attribute
     repeat over attribute named-attribute
        output attribute named-attribute
        output "%n"
     again

   
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:45 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.