Subject: Re: Question with xsl:copy-of and xsl:value-of
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Thu, 6 Sep 2001 15:11:29 +0100
|
Hi Bill,
> 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.
Copy the child nodes of the title element with:
<xsl:copy-of select="title/node()" />
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|