Subject: RE: [xsl] need to match every element node From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 10 Apr 2001 10:46:51 +0100 |
> -----Original Message----- > From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx] > Sent: 07 April 2001 12:01 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: [xsl] need to match every element node > > > > Ho do you match every element node in one match? The > > template below process > > every element node layer after layer but I need it in done > > one sinlge match > > only > > > > <xsl:template match="/|*"> > > <do-something/> > > <xsl:apply-templates/> > > </xsl:template> > > You can match every element node using match="*". But I don't > think that's > what you meant: you want to select every element node, which > you can do > using > > <xsl:apply-templates select="//*"/> > > Mike Kay > Software AG > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] need to match every eleme, Michael Kay | Thread | Re: [xsl] need to match every eleme, David_N_Bertoni |
RE: [xsl] Built in templates, Michael Kay | Date | FW: [xsl] MSXML, xsl:copy, XML Outp, Michael Kay |
Month |