xsl-list
[Top] [All Lists]

Re: [xsl] Re: Un-cdata-section-elements

2006-03-23 15:41:17
Hiya,

But in the output *only* <script> gets a CDATA section thrown in; I

On 3/24/06, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
what's your xsl:stylesheet elemet look like, have you specified script
as a cdata element?

No, there is nothing special for <script> at all.

It can't be that hard to make the template for script separate,  surely?

Under normal circumstances, no, but this is part of a bigger framework
with dynamic variables and Topic Maps thrown around as parameters to
templates, special rules for copying of attributes (they too can have
further templating instructions in them) ... it's pretty complex, code
I would hesitate to split up an maintain in several places. I can of
course throw some wrappers around it more to do this, but I'm not
actually sure this will fix the problem.

I will test this with Saxon next and let you know if that indeed "fixes" it.


Alex
--
"Ultimately, all things are known because you want to believe you know."
                                                         - Frank Herbert
__ http://shelter.nu/ __________________________________________________

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>