xsl-list
[Top] [All Lists]

Cannot spot the error in my XSL code, please help.

2005-05-29 07:12:16
Hi all.here is my xsl code
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"; version = "1.0" >
<xsl:template match="/">
<html>
 <body>
   <fieldset>
     <legend>
       <font face="verdana,arial,helvetica" size="+3" color="#00006B">
         <xsl:template match="*">
           <xsl:value-of select="name()" />
         </xsl:template>
       </font>
     </legend>
       <xsl:for-each select="//*">
         <xsl:value-of select="child::text()" />
        </xsl:for-each>
     </fieldset>
   </body>
 </html>
</xsl:template>
</xsl:stylesheet>

and from my xml file i receive the error "Keyword xsl:template may not be used here". I cannot spot what i have done wrong.can someone please help me fix this error?
thank you.

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! http://messenger.msn.co.uk


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>