[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: simple xslt question, retrieved data has no xml ta

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
Re:  simple xslt question
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.