Subject: RE: [xsl] Newbie Q: Why are element contents being passed through ? From: Cams Ismael <Ismael.Cams@xxxxxxxxxxx> Date: Thu, 10 Apr 2003 08:24:50 +0200 |
Hello, > <xsl:template match='form'> > <form> > <xsl:copy-of select='@*'/> > <xsl:apply-templates/> > </form> > </xsl:template> The reason for your problem is the xsl:apply-templates element. For every element that is encountered under <form> a template is applied. Because you didn't specify any template yourself the default template is used, which results in the output you get. Kind regards, Ismaël XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Newbie Q: Why are element, Passin, Tom | Thread | [xsl] Replacing leading zero with s, Cams Ismael |
Re: [xsl] Multiple output files, bix_xslt | Date | RE: [xsl] Newbie Q: Why are element, Jarno . Elovirta |
Month |