xsl-list
[Top] [All Lists]

treating a CDATA node as Elements nodes

2005-07-21 11:09:25
CDATA sections are viewed as a single node that can't
be split up even more in template rules right?

i was wondering if u can take a CDATA node which could
be filled with XHTML and then select nodes in that?

for example in rss, to choose the img node in a CDATA
section.

<content:encoded>
<![CDATA[ 
<p class="warning">An Excessive Heat Watch Remains In
Effect For Friday
</p>
<h4>
<a
href="http://www.rssweather.com/hw3.php?place=philadelphia";><img
src="pcloudy.gif"/>
</a>
</h4>
<h4>
Cloudy
</h4>
  ]]> 
  </content:encoded>

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--