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

moving presentation logic from ASP script to XSL templ

Subject: moving presentation logic from ASP script to XSL template
From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
Date: Tue, 2 Nov 2004 13:28:47 +0100
presentation logic
Hello!
My question is illustrated at http://gabbah.no-ip.org/XSL_question.jpg

Currently, I let my asp script check what sort of client made the request, and then transform the XML retrieved from a COM object, with one of two possible XSL-files; pc-templates.xsl and pocketpc-templates.xsl. These xsl files include all of the templates needed. This is case one.

My goal is to have ALL presentation logic in XSL only, as you can see in case 2. How could I achive this?

(I guess I need to pass a parameter somehow, and use it in the XSL. However, the templates for PC have the same match criteria as the pocketpc have, so there would still be a match conflict for all the nodes in the XML...? )

Thanks in advance,
/Gabriel


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.