|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Preventing CDATA output in XHTML
On 7/3/07, Dale Tan <wtdtan@xxxxxxxxx> wrote:
so there is no native "xhtml".
1. libxslt *will* treat method='xhtml' differently from both 'xml' and 'html'. This is not standard, but it certainly is there. 2. I haven't chased what the specifics are, but as to this conversation, making <script> an enforced CDATA section is the big one. 3. The enforcing CDATA is fine when you can't trust mere mortals to escape it themselves, nor does it cater to exceptions, which indeed putting // inside the element before the CDATA escaping is. After much fiddling I revert to a dirty option ; I skipped the whole thing, processed as XML and used my programming language to insert // between <script> and CDATA. Dity, not what I'd prefer, but I do understand that these are exceptions.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|







