<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XFM xuseCriteria for xml type attribute</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/94939/xfm-xusecriteria-for-xml-type-attribute</link><description>hi all, 
 i need to check xml attribute if is is empty or not. 
 when i use: 
 &amp;lt;Style useCriteria=&amp;quot;strlen(&amp;amp;quot;[my_feature:my_list]&amp;amp;quot;) &amp;amp;gt; 0&amp;quot;&amp;gt;myType&amp;lt;/Style&amp;gt; 
 the strange behaviour appears: 
 in case my list is empty. strlen == 0 (thats ok), if</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: XFM xuseCriteria for xml type attribute</title><link>https://communities.bentley.com/thread/276007?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2014 14:42:13 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cd11b7b6-7d74-4ea6-9bfe-af5111cddd36</guid><dc:creator>cdalesandro</dc:creator><description>&lt;p&gt;Jan,&lt;/p&gt;
&lt;p&gt;Can you try a useCriteria like below for the multi row case?&lt;/p&gt;
&lt;p&gt;[System.String.IndexOf(&amp;quot;[my_feature:my_list]&amp;quot;,&amp;quot;&amp;lt;row&amp;quot;)]!=[System.String.LastIndexOf(&amp;quot;[my_feature:my_list]&amp;quot;,&amp;quot;&amp;lt;row&amp;quot;)]&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XFM xuseCriteria for xml type attribute</title><link>https://communities.bentley.com/thread/276004?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2014 14:37:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:52e9c173-d961-4f38-805c-57d2fbe5e86d</guid><dc:creator>Jan Vagner</dc:creator><description>&lt;p&gt;it seems like it depend on xml fragment lenght .. xfm engine is not able to return xml attribute string value when lenght is more than 255 chars long. my workaroud is: create c-expresion function and get feature attribute directly via xfm feature manager and groupname (XFM API). greetings Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>