# Filtering XML

**URL:** <https://forum.kirupa.com/t/filtering-xml/294605>\
**Category:** Uncategorized\
**Created:** [August 17, 2009, 2:35pm UTC](https://forum.kirupa.com/t/filtering-xml/294605 "2009-08-17T14:35:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IanCremona](https://avatars.discourse-cdn.com/v4/letter/i/65b543/32.png) [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Post date:** [August 17, 2009, 2:35pm UTC](https://forum.kirupa.com/t/filtering-xml/294605/1 "2009-08-17T14:35:35Z")

</div>

Hi,

I am trying to project all the XML title with the keyword “Omaha”

```auto
trace("trace = " +xml..tournaments.tournament.(name == "Omaha").toXMLString());

```

xml…tournaments.tournament.name works but xml…tournaments.tournament.(name == “Omaha”) does not

my xml looks like this :

\<tournaments\>  
\<tournament\>  
\<name\>$5,000 GP Rebuy Ohama\</name\>  
\<game\>Holdem\</game\>  
\<buyin\>10\</buyin\>  
\<start\_date\>2009-08-17 10:40:01\</start\_date\>  
\<registration\_start\_date\>2009-08-16 10:40:01\</registration\_start\_date\>  
\<registration\_end\_date\>2009-08-17 10:40:01\</registration\_end\_date\>  
\<max\_players\>1500\</max\_players\>  
\</tournament\>
