This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: need to match every element node
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] need to match every element node
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 10 Apr 2001 10:46:51 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> -----Original Message-----
> From: Michael Kay [mailto:mhkay@iclway.co.uk]
> Sent: 07 April 2001 12:01
> To: xsl-list@lists.mulberrytech.com
> 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