![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: How to manage multiple XSL files that are nearly identical? How to manage multiple XSL files that are nearly identical?To: NULL Date: 8/6/2008 12:49:00 AM I just learning WPF and silverlight. I'm trying to generate WPF and silverlight apps via XSLT. I have observed that the only differnence between my WPF XAML file and my Silverlight XAML file is that WPF uses the windows tag (as the first tag) and Silverlight uses the Page tag (as the first tag) and the Silverlight viewer uses the canvas tag (as the first tag). Everything else (for WPF and silverlight anyway) is identical. The silverlight viewer file is a little different in the sense it cannot have references to C# in it. So a question for the silverlight form is: do I need otherwise identical files for WPF and Silverlight. I posted this quesiton and I think the response is "yes" (but I'm not completely certain). So do I have to maintain three otherwise identical XSL files? Ugghh... So here is the XSL question: Is there a way I can pass a parameter (or something) so it will generate a page tag, windows tag, or canvas tag so I don't have to maintain three otherwise identical XSL files? Thanks! Siegfried | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
