[xsl] treating a CDATA node as Elements nodes

Subject: [xsl] treating a CDATA node as Elements nodes
From: Arian Hojat <arianhojat2000@xxxxxxxxx>
Date: Thu, 21 Jul 2005 11:09:25 -0700 (PDT)
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 

Current Thread