Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


How to manage multiple XSL files that are nearly identical?

From: "Siegfried Heintze" <siegfried@-------.--->
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 




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent