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

Re: html code generation & parameter between xslt and

Subject: Re: html code generation & parameter between xslt and jscript
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 10 Mar 2005 13:32:21 GMT
html code generation
  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

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.