xsl-list
[Top] [All Lists]

Re: simple xslt question, retrieved data has no xml tags.

2006-01-23 06:20:16
On 1/23/06, Hardy Merrill <HMerrill(_at_)dhcr(_dot_)state(_dot_)ny(_dot_)us> 
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>