[CWB] Accessing xml attributes in CQP

Meier-Vieracker, Simon simon.meier at tu-berlin.de
Mon Aug 22 15:17:08 CEST 2016


Hi everyone,

is there a way to combine document structural xml-attributes in CQP searches?
My xml elements have the following attributes:

<text quote=„yes“ subject=„noun“ position=„post“>

I know how to find only matches with a certain value in one attribute, say:

[pos=„NN“] :: match.text_quote=„yes“;

but how combine this attribute with another to narrow my query results?

Thanks and best regards
Simon


More information about the CWB mailing list