[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL Dominos
On 28/05/2010 14:49, Nick Leaton wrote:
Passing xml as parameters you'd probably find all the xsl a lot easier if you used apply-templates (in a mode) rather than named templates everywhere to which you need to pass input as a parameter, as essentially, you are implementing apply templates by hand, but still... cmf-html appears to be written to be called like this:
passed a trade element, but in your "domino" version it is being passed a document node, perhaps that explains the difference? Also note that you never need to declare xmlns:fn="http://www.w3.org/2005/xpath-functions" as you can always refer to the built in functions unprefixed, count() rather than fn:count(). David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! 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
|