<!--- This example illustrates usage of the 
      GetBaseTagList function. --->
<HTML>
<HEAD>
<TITLE>GetBaseTagList</TITLE>
</HEAD>

<BASEFONT FACE="Arial, Helvetica" SIZE=2>
<BODY  bgcolor="#FFFFD5">
<H1>GetBaseTagList</H1>
<P>
This example illustrates use of
the GetBaseTagList function 
(displayed in the View Example pane). 
<p>
This is typically used in custom tags.
<P>
See the View Example pane to view the code.
<!---
<cfif thisTag.executionMode is "start">
--->
	<!--- Get the tag context stack 
	      The list will look something like "CFIF,MYTAGNAME..." --->
<!---
    <cfset ancestorList = GetBaseTagList()>
--->	
	<!--- Output current tag name --->
<!---
    <cfoutput>This is custom tag #ListGetAt(ancestorList,2)#</cfoutput>
	<p>
--->
    <!--- Determine whether this is nested inside a loop --->
<!---
    <cfset inLoop = ListFindNoCase(ancestorList, "CFLoop")>
	<cfif inLoop neq 0>
		Running in the context of a CFLoop tag.
	</cfif>
--->
</BODY>
</HTML>       
     
