hi my xml has this structure
<articles>
<article>
<title></title>
<text></text>
<notes>
<note>
<code></code>
<text></text>
</note>
<note>
<code></code>
<text></text>
</note>
</notes>
</article>
</articles>
i have to do this query (sql speaking :) ): SELECT article WHERE note.code=XXX AND note.text CONTAINS YYY
how can i do that in php?