Ok, I have setup
a taf that includes an html file which has an include of a taf
TestSub.taf > interim.htm > Urlinfo.taf

click on http://www.pcforge.com/urlinfo.taf
and view the source
now
click on http:/www.pcforge.com/testsub.taf
now look at the bottom you will see "]]>"
now view the source it's XML which contained at table

This was the example I was referring to. might not be the exact scenario.


Ben Johansen - http://www.pcforge.com
-Authorized WiTango Reseller
 http://www.pcforge.com/WitangoGoodies.htm
-Authorized Alt-N Reseller
 http://www.pcforge.com/AltN.htm 

-----Original Message-----
From: John McGowan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 1:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: including snippets of code


Ben,

I tried to send this post to you off the list, but your mail server 
doesn't seem to be accepting any thing from my mail server.

Anyway, see my comments below about nested @includes.


Ben Johansen wrote:

>Off List,
>
>Now, I remember (coffee finally kicked in)
>
>The reason your sub-include of the TML works is because TML is one of
>the extensions setup in the web server to tell the web server that
>Witango is responsible to process this file.
>  
>

No,   the @include tag doesn't interact at all with the web server.  It
also doesn't care about file extensions.  When the app server comes
across an @include, it doesn't care what file extension it is... it
simply includes the file and evaluates any meta code it comes across.

>In the case where an included HTML file calling a SUB-HTML file this is
>not the case. The SUB would not have its metatags processed
>  
>
Yes they are... See the enclosed example...  I just tested this out.

test.taf does an @include of test1.html

test1.html does an @include of test2.html
test2.html does an @include of test3.html
test3.html executes @currentdate.


/John

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to