Subject: Re: simple xslt question, retrieved data has no xml tags.
From: andrew welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 23 Jan 2006 13:20:16 +0000
|
On 1/23/06, Hardy Merrill <HMerrill@xxxxxxxxxxxxxxxx> wrote:
> Lizet, I'm certainly no expert and I'm just taking a wild stab at this, but
> I think that when you do
>
> <xsl:apply-templates select="self" />
>
> that is only going to output the text of the context node. My guess is
> that you need to do an xsl:copy or xsl:copy-of.
A bit wide of the mark there, Hardy.
<xsl:apply-templates select="self" />
is the shorthand for:
<xsl:apply-templates select="child::self" />
Which will apply-templates to all <self> elements that are children of
the context node.
cheers
andrew
|