This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Value-of, copy-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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]