<pre><code>&lt;div spry:region="ds1" spry:repeatchildren="ds1"&gt;
  &lt;b spry:if=" '{title}'!='' "&gt;
    &lt;!-- this is the first if --&gt; 
    &lt;a href="#"  spry:if=" '{author}'!='' "&gt;{author}
      &lt;!-- this is the second if --&gt;
    &lt;/a&gt;
  &lt;/b&gt;
&lt;/div&gt;
</code></pre>

<p><br><br>
I wonder if there is any method as simple as </p>

<pre><code>if(x==y &amp;&amp; i&gt;j)  
</code></pre>

<p>in </p>

<pre><code>&lt;b&gt;spry&lt;/b&gt; 
</code></pre>

<p>region.
I can't find any information in spry docs  (labs.adobe.com/technologies/spry/)</p>

The syntax inside the
```
spry:if
```
attribute is Javascript, so you can use
```
&&
```
:
```
```
<b spry:if="'{title}' != '' && '{author}' != ''">
<!-- ... -->
</b>
```
```