Reply to thread

I am generally confused about the Z tag. From what I understand, it is supposed to match 0 or 1 occurrances of the enclosing html. So for example, if the templates contains the following:

[CODE]<z(><dt>Starring</dt>

    <dd>name 1, name 2</dd></z)?>

                

<z(><dt>Director</dt>

    <dd>some name</dd></z)?>

    

       <dt>Description</dt>

    <dd><#Description></dd>[/CODE]

Then the code will match the following:


1) One dt/dd pair, "Description" in the dt tag.

2) Two dt/dd pairs, either "Starring" or "Director" in first dt tag and "Description" in second dt tag.

3) Three dt/dd pairs, "Starring" in first dt tag, "Director" in second dt tag and "Description" in third dt tag.


Is this reasoning correct?


Top Bottom