<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&gt; 
Quoting Mike Heins (mike@perusion.com):<BR>&gt; &gt; Quoting Paul Jordan 
(paul@gishnetwork.com):<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; <BR>&gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp; I have a situation where I conditionally serve page 
content, alternatively<BR>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; serving and different 
page via an [include]. I realize I can use a bounce,<BR>&gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp; but I do this in this particular page so the page name 
stays the same and<BR>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; the user is unaware they 
are not seeing what they are supposed to be seeing.<BR>&gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp; Donât comment on the Ã¢what?â, itâs a very odd 
situation with a third party<BR>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; that I have 
very limited access to. Simplified:<BR>&gt; &gt; &gt; <BR>&gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp; [tmp foo][/tmp]<BR>&gt; &gt; &gt; <BR>&gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp; [if scratch foo]<BR>&gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [include 
pages/existingpage.html]<BR>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; [else]<BR>&gt; &gt; 
&gt; <BR>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; regular page 
content<BR>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [strip 
reparse=0]<BR>&gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;!--[if IE]&gt;<BR>&gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
test 1<BR>&gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;![endif]--&gt;<BR>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[/strip]<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; [/else]<BR>&gt; 
&gt; &gt;&nbsp;&nbsp;&nbsp; [/if]<BR>&gt; &gt; <BR>&gt; &gt; Why not <BR>&gt; 
&gt; <BR>&gt; &gt; <BR>&gt; &gt;&nbsp;&nbsp;&nbsp; [if scratch foo]<BR>&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [include 
pages/existingpage.html]<BR>&gt; &gt;&nbsp;&nbsp;&nbsp; [else]<BR>&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [include 
pages/otherpage.html]<BR>&gt; &gt;&nbsp;&nbsp;&nbsp; [/else]<BR>&gt; 
&gt;&nbsp;&nbsp;&nbsp; [/if]<BR>&gt; &gt; <BR>&gt; &gt; ??<BR>&gt; &gt; <BR>&gt; 
&gt; Alternatively you could do:<BR>&gt; &gt; <BR>&gt; &gt;&nbsp;&nbsp;&nbsp; 
[if scratch foo]<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [include 
pages/existingpage.html]<BR>&gt; &gt;&nbsp;&nbsp;&nbsp; [else]<BR>&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [tmpn t_content]<BR>&gt; 
&gt;&nbsp;&nbsp;&nbsp; regular page content<BR>&gt; &gt;&nbsp;&nbsp;&nbsp; 
[strip reparse=0]<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;!--[if IE]&gt;<BR>&gt; &gt;&nbsp;&nbsp;&nbsp; test 1<BR>&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;![endif]--&gt;<BR>&gt; 
&gt;&nbsp;&nbsp;&nbsp; [/strip]<BR>&gt; &gt; [/tmpn]<BR>&gt; &gt; [scratchd 
t_content]<BR>&gt; &gt;&nbsp;&nbsp;&nbsp; [/else]<BR>&gt; &gt;&nbsp;&nbsp;&nbsp; 
[/if]<BR>&gt; <BR>&gt; And I was wondering about the premise. Actually, the bug 
is in the<BR>&gt; finding of the [/if], and the second possibility doesn't work. 
And it<BR>&gt; is definitely a bug, if one I don't have a general solution 
for.<BR>&gt; <BR>&gt; This works:<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp; [tmpn 
IE][if IE][/tmp]<BR>&gt;&nbsp; <BR>&gt;&nbsp;&nbsp;&nbsp; [if scratch 
foo]<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [include 
pages/existingpage.html]<BR>&gt;&nbsp;&nbsp;&nbsp; [else]<BR>&gt;&nbsp; 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; regular page 
content<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [strip 
reparse=0]<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;!--[scratch 
IE]&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
test 1<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;![endif]--&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[/strip]<BR>&gt;&nbsp; <BR>&gt;&nbsp;&nbsp;&nbsp; 
[/else]<BR>&gt;&nbsp;&nbsp;&nbsp; [/if]<BR></DIV></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"><BR>Thanks 
Mike and Peter</DIV></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;</DIV></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">I 
went with Peter’s suggestion because I couldn’t get yours to work (initially) 
Mike. Afterward I played with yours and I believe you meant to leave out the 
[strip] tags, once I remove those it worked as expected. That makes yours and 
Peter’s suggestion very similar, but with yours you can take advantage of any 
processing you can do anywhere in the page more easily. I’m not doing any more 
processing in this block but thought I’d mention it for the archives. 
</DIV></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;</DIV></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Work 
around #1</DIV></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">-----------------------------</DIV></DIV>
<DIV>[tmpn IE]</DIV>&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--[scratch 
IE]&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test 
1<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;![endif]--&gt;<BR>
<DIV>[/tmpn]<BR>&nbsp; <BR>[if scratch 
foo]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [include 
pages/existingpage.html]<BR>[else]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
regular page content<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [scratch 
IE]<BR>[/else]<BR>[/if]<BR><BR></DIV>
<DIV>Work around #2</DIV>
<DIV 
style="FONT-STYLE: ; DISPLAY: inline; FONT-FAMILY: ; COLOR: ; FONT-SIZE: ; FONT-WEIGHT: ; TEXT-DECORATION: ">-----------------------------</DIV>
<DIV>[tmpn IE][if IE][/tmpn]<BR>&nbsp; <BR>[if scratch 
foo]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [include 
pages/existingpage.html]<BR>[else]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
regular page 
content<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;!--[scratch 
IE]&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
test 1</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
.... and other ITL 
processing...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;![endif]--&gt;<BR>[/else]<BR>[/if]<BR><BR></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Thank 
you again</DIV></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;</DIV></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Paul</DIV></DIV>
<DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;</DIV></DIV></DIV></DIV></BODY></HTML>