Named Templates

Results 1 to 2 of 2

Thread: Named Templates

  1. #1
    Join Date
    Dec 1969

    Default Named Templates

    I am trying to implement named templates and hitting an error which states xsl:call-template cannot be used here. I have gone to sites and confirmed that my code is correct. If anyone can send some feedback about this function it will be great. My code is as follows<BR><BR>&#060;xsl:template name="setthecolor"&#062;<BR> This is a test<BR>&#060;/xsl:template&#062;<BR><BR>I am calling the above named template as<BR><BR>&#060;xsl:call-template name="setthecolor" /&#062;<BR><BR>Thanx !

  2. #2
    Smithy Guest

    Default RE: Named Templates

    Not to sure but it could be your namespaces? <BR><BR>Try changing them? Might work?<BR><BR>I had the same kinda error and changed my xlmns:xsl<BR><BR>s.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts