[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Extracting an attribute value only


Subject: Re: [xsl] Extracting an attribute value only
From: Sebastian Tennant <sebyte@xxxxxxxxxxxxxxx>
Date: Mon, 16 Jan 2006 18:01:21 +0000

"Michael Kay" <mike@xxxxxxxxxxxx> wrote:

> <xsl:template match="content">
>   <page name="{@page}">
>     <xsl:apply-templates/>
>   </page>
> </xsl:template>

Thanks all.  I clearly don't understand apply-templates!  I thought
apply-templates always needed a select attribute and had to preceed a
template match in the XSLT doc.  Time for me to go back to basics!

sdt


Current Thread
Keywords