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

xsl and xml CDATA or Not question

Subject: xsl and xml CDATA or Not question
From: "John Hamman" <John@xxxxxxxxxxxxxxxxx>
Date: Fri, 12 Mar 2004 10:49:56 -0500
xml cdata
hello experts, 
If i have some html in a xml field like below. 
<Content><![CDATA[ <br/><br/><center><div id="TextOnlyLink"><a
href="/page.aspx?textonly">[Text Only]</a></div> 
<div id="centerImg"> 
<img src="/pub/en-us/images/clear-path-soon.jpg" alt="the alt tag."
width="712" height="223"/> 
</div> 
<p>blah blah blah</a> 
</p> 
</center>]]> 
</Content> 

my formated xsl is just this 
<xsl:value-of select="//Content" disable-output-escaping="yes"/> 

but my question is how do i take that contnet and be able to use it in a way
with another "text only" xsl sheet that might make it output like this 

<a href="/page.aspx">[Formated]</a> 
[img: the alt tag] 
<p>blah blah blah<p> 

Any ideas. Im sure im missing something somewhere. Should i get rid of the
CDATA and figure a way to output it as regular HTML in the formated version
or what? 
Help please

John Hamman


 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.