This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Value-of, copy-of
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 27 Feb 2002 07:15:39 -0800 (PST)
- Subject: [xsl] Re: Value-of, copy-of
- Reply-to: xsl-list at lists dot mulberrytech dot com
> the chunk of XSL in question is:
>
> <div class="blurb">
> <xsl:copy-of select="rss:description"/>
> </div>
>
> my problem is that the processor output is:
>
> <div class="blurb">
> <description xmlns="http://purl.org/rss/1.0/";
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
> xmlns:sy="http://purl.org/rss/1.0/modules/syndication/";>
> <p>this website has now been rebuilt. We're using an all-css
all-the-
> time layout. The backend articles is now in formatted with <acronym
> title="Resource Description Format">RDF</acronym>, ready for
> syndication.</p>
> </description>
> </div>
>
>
> I don't want it to output the <description> elements, only the
> content inside.
Use:
<xsl:copy-of select="rss:description/node()"/>
Cheers,
Dimitre Novatchev.
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list