Subject: Re: [xsl] html code generation & parameter between xslt and jscript From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 10 Mar 2005 13:32:21 GMT |
the two things I needed was ~disable-output-escaping = "yes"~ and ~number($lg)~ use of disable-output-escaping (which is explictly non portable and will be explictly deprecated in XSLT2) is almost always a sign that something is wrong with the design of the stylesheet. In this case, what is wrong is that your javascript is generating a string with markup tags "<td>...." etc and XSLt _never_ handles tags, it handles element nodes. Your javascript should be generating element nodes (using dom calls to msxml's DOM). Actually in this case if I read your extension function coprrectly it is just generating a sequence of empty td elements so it would be much easier to just generate those in XSLT and not use an extension at all. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] what does this statement , RQamar | Thread | [xsl] XSLT 2.0 function - fastest n, Andrew Welch |
RE: [xsl] what does this statement , Michael Kay | Date | [xsl] XSLT 2.0 function - fastest n, Andrew Welch |
Month |