xsl-list
[Top] [All Lists]

Re: html code generation & parameter between xslt and jscript

2005-03-10 06:32:21

  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
________________________________________________________________________

--~------------------------------------------------------------------
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>
  • Re: html code generation & parameter between xslt and jscript, David Carlisle <=