View Single Post
  #5 (permalink)  
Old June 10th, 2009, 04:19 PM
samjudson's Avatar
samjudson samjudson is offline
Friend of Wrox
Points: 5,210, Level: 30
Points: 5,210, Level: 30 Points: 5,210, Level: 30 Points: 5,210, Level: 30
Activity: 97%
Activity: 97% Activity: 97% Activity: 97%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 1,494
Thanks: 0
Thanked 60 Times in 60 Posts
Default

You could load the external template using document() and then check if it contains the named template manually of course?

<xsl:if test="document('template.xsl')//xsl:template[@name=$Test]">
...
__________________
/- Sam Judson : Wrox Technical Editor -/
Reply With Quote