This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Question with xsl:copy-of and xsl:value-of
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Question with xsl:copy-of and xsl:value-of
- From: Oleg Tkachenko <olegt at multiconn dot com>
- Date: Thu, 06 Sep 2001 17:36:47 +0200
- Organization: Multiconn International
- References: <"H000073201699451.0999784117.hp_em2*"@MHS>
- Reply-To: xsl-list at lists dot mulberrytech dot com
wbchmura@Ensign-BickfordInd.com wrote:
> I need to extact the contents of the <title> tag intact. If I do a
> value-of, it looses the tags inside of it. If I do a copy-of I get the
> <title> tag also. I need to be able to just get the contents of the
> <title> tag without the <title> around it.
Or try identity transform (see faq:
http://www.dpawson.co.uk/xsl/sect2/identity.html), or
use <xsl:copy-of select="node()"/> to deep copy all the children.
--
Oleg Tkachenko
Multiconn International
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list