Get Attribute Description Via PML

Hi

Is there  a way to output descriptions of attributes via PML?

I have this macro, but so far it's just outputting an attribute and it's value for an element. I'd like an additional column, description.

!element = !!ce
!outputDirectory = 'C:\Temp\test.csv'
!allAttributes = true
!pseudoAttributes = true

!file = object file (!outputDirectory)

-- Define Arrays
!lines = array()
!types= array()

-- Attributes to Collect
if !allAttributes EQ true then
  !types.append('attlist')
endif

if !pseudoAttributes EQ true then
  !types.append('psatts')
endif

-- Collect All Attributes to Array
do !type values !types
  do !attribute values !element.$!type
    !value = !element.attribute(!attribute).string()
    handle any
    !value = 'Not Found'
    endhandle
    !line = '"$!attribute"' + ',"$!value"' + ',"$!type"'
    !lines.append(!line)
  enddo
enddo

-- Add Attributes to Array
!file.writefile('write', !lines)