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

Re: Value-of, copy-of

Subject: Re: Value-of, copy-of
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 27 Feb 2002 07:15:39 -0800 (PST)
 Re: Value-of
> 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


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.