Ignore:
Timestamp:
20/12/06 10:17:35 (14 years ago)
Author:
domlowe
Message:

parameter, and AggregatedArray? implemented in scanner. Also changes to AssociationAttributeGroup in parser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/branches/CSML2/parser.py

    r1896 r1899  
    234234        a =[XLINK('href'),XLINK('role'), XLINK('arcrole'),XLINK('title'), XLINK('show'), XLINK('actuate')]  
    235235        addatts(self,a) 
     236        #Note the abbreviations href, role etc can be used to set these attributes rather than the full qualified name 
     237        if 'href' in kwargs: 
     238            self.__dict__[XLINK('href')]=kwargs['href'] 
     239        if 'role' in kwargs: 
     240            self.__dict__[XLINK('role')]=kwargs['role'] 
     241        if 'arcrole' in kwargs: 
     242            self.__dict__[XLINK('arcrole')]=kwargs['arcrole'] 
     243        if 'title' in kwargs: 
     244            self.__dict__[XLINK('title')]=kwargs['title'] 
     245        if 'show' in kwargs: 
     246            self.__dict__[XLINK('show')]=kwargs['show'] 
     247        if 'actuate' in kwargs: 
     248            self.__dict__[XLINK('actuate')]=kwargs['actuate'] 
    236249 
    237250class SRSReferenceGroup(csElement): 
Note: See TracChangeset for help on using the changeset viewer.