The operator attr() returns the attribute-value set associated with an element.
Prototype
atvset <-- attr( element )
Example
attr(first LANGUAGE within file $myfile); ID="EN"ISO639="en"
The operator -> returns the value associated with a given attribute of an element.
Prototype
atvset <-- element -> name
Example
(first TEXT within file $myfile)->LANG; en(first TEXT within file $myfile)->#FROM; 1.2(first #PCDATA within
(first DISTRIBUTOR within file $myfile)
)->#FROM;1.1.1.2.1.1\1