<z> tag making me really violent!!! (1 Viewer)

Sasler

Portal Pro
October 19, 2006
72
0
I'm trying to use the :mad: <z> tag and its behaving in really unpredicatble ways :mad:

If I understand correctly the following would mean that #SOMETHING is optional and not always aviable:

<z(><#SOMETHING></z)?>

But if I have something like this would only find #GENRE and not #DESCRIPTION:

<tr><td><table><tr><td><#START></td>
<td><font><#TITLE></font>
<#DESCRIPTION>
<z(><font><#GENRE></font></z)?>
</td></tr></table></td></tr>

If I do like this, both are present, but only when #GENRE also has data:

<tr><td><table><tr><td><#START></td>
<td><font><#TITLE></font>
<z(><#DESCRIPTION>
<font><#GENRE></font></z)?>
</td></tr></table></td></tr>

What I'm trying to do, is to tell :mad: program that #DESCRIPTION is always there and #GENRE only sometimes. How on earth can I do that?
 

James

Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi Sasler,

    I'm sorry to here that, but I understand the Z tags is a little tricky. It is also maybe less then perfect, but then what is ;)

    If you give me some more details about the source (link) I see if I can help you. You can also find me in IRC if you need more detailed questions answered.
     

    Users who are viewing this thread

    Top Bottom